esp_phy: added API esp_btbb_disable

APIs esp_btbb_enable and esp_btbb_disable are supposed to be used by 802.15.4 and Bluetooth module, and implemented with reference counter for resource management
This commit is contained in:
wangmengyang
2023-03-17 16:18:27 +08:00
committed by BOT
parent 786851bfbd
commit cbb8bf9f88
6 changed files with 30 additions and 9 deletions

View File

@@ -48,7 +48,6 @@ void esp_phy_enable(void)
_lock_acquire(&s_phy_access_lock);
if (s_phy_access_ref == 0) {
register_chipv7_phy(NULL, NULL, PHY_RF_CAL_FULL);
bt_bb_v2_init_cmplx(PHY_ENABLE_VERSION_PRINT);
phy_version_print();
}