esp_nimble_hci_and_controller_deinit() does not exist in idf anymore, I hope we never need it

This commit is contained in:
2022-09-17 22:14:05 +02:00
parent 8883f44d9f
commit c218a27dd8

View File

@ -810,10 +810,12 @@ NimBLEAddress NimBLEDevice::getWhiteListAddress(size_t index) {
if (ret == 0) {
nimble_port_deinit();
#if 0
ret = esp_nimble_hci_and_controller_deinit();
if (ret != ESP_OK) {
NIMBLE_LOGE(LOG_TAG, "esp_nimble_hci_and_controller_deinit() failed with error: %d", ret);
}
#endif
initialized = false;
m_synced = false;