#ifdef fixed

This commit is contained in:
Kai Lauterbach 2022-05-15 23:06:02 +02:00
parent 4250c6c9cc
commit bce0c81139

View file

@ -70,7 +70,7 @@ void setup()
#ifndef SLEEP_IF_NO_WLAN_CONNECTION #ifndef SLEEP_IF_NO_WLAN_CONNECTION
while while
#endif #endif
#if def SLEEP_IF_NO_WLAN_CONNECTION #ifdef def SLEEP_IF_NO_WLAN_CONNECTION
if if
#endif #endif
(!wifiManager.autoConnect(wifiName.c_str(), "DEADBEEF")) (!wifiManager.autoConnect(wifiName.c_str(), "DEADBEEF"))