Merge pull request #1072 from justcallmekoko/develop

Bluetooth can deinit on ESP32 C5
This commit is contained in:
Just Call Me Koko
2026-01-22 09:48:27 -05:00
committed by GitHub
+6 -6
View File
@@ -4628,13 +4628,13 @@ void WiFiScan::executeSourApple() {
delay(60);
pAdvertising->stop();
#ifndef HAS_DUAL_BAND
//#ifndef HAS_DUAL_BAND
if ((now_time - this->last_sour_apple_update > 1000) || (this->last_sour_apple_update == 0)) {
this->last_sour_apple_update = now_time;
NimBLEDevice::deinit();
this->ble_initialized = false;
}
#endif
//#endif
#endif
}
@@ -4683,9 +4683,9 @@ void WiFiScan::executeSpoofAirtag() {
delay(10);
pAdvertising->stop();
#ifndef HAS_DUAL_BAND
//#ifndef HAS_DUAL_BAND
NimBLEDevice::deinit();
#endif
//#endif
break;
}
@@ -4715,9 +4715,9 @@ void WiFiScan::executeSwiftpairSpam(EBLEPayloadType type) {
delay(10);
pAdvertising->stop();
#ifndef HAS_DUAL_BAND
//#ifndef HAS_DUAL_BAND
NimBLEDevice::deinit();
#endif
//#endif
#endif
}