From 052178970b043cdbba626b34b822a4f0a03043c0 Mon Sep 17 00:00:00 2001 From: SteveT Date: Thu, 29 Oct 2020 12:47:44 -0400 Subject: [PATCH] make match master --- defines.h | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/defines.h b/defines.h index 99b49bd..8b59930 100644 --- a/defines.h +++ b/defines.h @@ -22,8 +22,11 @@ // // 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 +#define WIFI_ON true +#else +#define WIFI_ON false #endif //////////////////////////////////////////////////////////////////////////////// @@ -31,15 +34,4 @@ // This defines the speed at which the Arduino will communicate with the ESP8266 module. // Currently only devices which can communicate at 115200 are supported. // -#define WIFI_SERIAL_LINK_SPEED 115200 - -//////////////////////////////////////////////////////////////////////////////// -// -// Figure out number of serial ports depending on hardware -// -#if (defined(ARDUINO_AVR_MEGA) || defined(ARDUINO_AVR_MEGA2560)) -#define NUM_SERIAL 3 -#endif -#ifndef NUM_SERIAL -#define NUM_SERIAL 1 -#endif +#define WIFI_SERIAL_LINK_SPEED 115200 \ No newline at end of file