From f0192c27e891849e358db730b610314fbe4e2405 Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Thu, 26 Aug 2021 22:26:43 +0200 Subject: [PATCH] Forgot ifdef --- main/ble.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/ble.h b/main/ble.h index cb9abe8..6c78838 100644 --- a/main/ble.h +++ b/main/ble.h @@ -224,8 +224,10 @@ void destroyBle() pService = {}; livestatsCharacteristic = {}; remotecontrolCharacteristic = {}; +#ifdef FEATURE_WIRELESS_CONFIG wirelessConfig = {}; getwifilist = {}; +#endif } void RemoteControlCallbacks::onWrite(NimBLECharacteristic* pCharacteristic)