From d0ecfbc71ca4e0e6736ff87562759a94089fc525 Mon Sep 17 00:00:00 2001 From: dexslab Date: Tue, 22 Sep 2020 16:02:11 -0400 Subject: [PATCH] parenthesis are your firends --- CommandStation-EX.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommandStation-EX.ino b/CommandStation-EX.ino index e2660e6..c0128fc 100644 --- a/CommandStation-EX.ino +++ b/CommandStation-EX.ino @@ -115,7 +115,7 @@ void setup() DIAG(F("\n===== DCC::getLocoId has returned, but the callback wont be executed until we are in loop() ======\n")); #endif -#if ENABLE_WIFI && defined(ARDUINO_AVR_MEGA) || defined(ARDUINO_AVR_MEGA2560) +#if ENABLE_WIFI && (defined(ARDUINO_AVR_MEGA) || defined(ARDUINO_AVR_MEGA2560)) bool wifiUp = false; const __FlashStringHelper *wifiESSID = F(WIFI_SSID); const __FlashStringHelper *wifiPassword = F(WIFI_PASSWORD);