ble: Update README files for bluedroid host examples on ESP32-H2

Disable clocks and phy modem directly in esp_bt_controller_deinit()
This commit is contained in:
Shen Weilong
2023-03-07 12:21:29 +08:00
parent 16a05153c9
commit 90d6b9cbd7
24 changed files with 57 additions and 85 deletions

View File

@@ -697,11 +697,11 @@ esp_err_t esp_bt_controller_deinit(void)
if (s_ble_active) {
esp_phy_disable();
esp_phy_modem_deinit();
modem_clock_deselect_lp_clock_source(PERIPH_BT_MODULE);
modem_clock_module_disable(PERIPH_BT_MODULE);
s_ble_active = false;
}
esp_phy_modem_deinit();
modem_clock_deselect_lp_clock_source(PERIPH_BT_MODULE);
modem_clock_module_disable(PERIPH_BT_MODULE);
ble_controller_deinit();