diff --git a/ESP32_AP-Flasher/src/serialap.cpp b/ESP32_AP-Flasher/src/serialap.cpp index 3ef99cd1..a84e2256 100644 --- a/ESP32_AP-Flasher/src/serialap.cpp +++ b/ESP32_AP-Flasher/src/serialap.cpp @@ -747,7 +747,7 @@ void segmentedShowIp() { } bool bringAPOnline() { - #ifndef BLE_ONLY + #ifdef BLE_ONLY apInfo.state = AP_STATE_NORADIO; #endif if (apInfo.state == AP_STATE_NORADIO) return true;