diff --git a/defines.h b/defines.h index 01757d7..4a511c4 100644 --- a/defines.h +++ b/defines.h @@ -22,10 +22,12 @@ // // WIFI_ON: All prereqs for running with WIFI are met // + #if ENABLE_WIFI && (defined(ARDUINO_AVR_MEGA) || defined(ARDUINO_AVR_MEGA2560) || defined(ARDUINO_SAMD_ZERO)) #define WIFI_ON true #else #define WIFI_ON false + #endif ////////////////////////////////////////////////////////////////////////////////