diff --git a/firmware/firmware.ino b/firmware/firmware.ino index b293347..c9655e0 100644 --- a/firmware/firmware.ino +++ b/firmware/firmware.ino @@ -70,7 +70,7 @@ void setup() #ifndef SLEEP_IF_NO_WLAN_CONNECTION while #endif -#if def SLEEP_IF_NO_WLAN_CONNECTION +#ifdef def SLEEP_IF_NO_WLAN_CONNECTION if #endif (!wifiManager.autoConnect(wifiName.c_str(), "DEADBEEF"))