From 933eab5f2da879f11e3963ebee2482414b26bba1 Mon Sep 17 00:00:00 2001 From: Asbelos Date: Thu, 11 Mar 2021 13:58:58 +0000 Subject: [PATCH] Ban mixed wifi/ethernet --- defines.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/defines.h b/defines.h index 478667e..5c08f01 100644 --- a/defines.h +++ b/defines.h @@ -37,7 +37,11 @@ #else #define ETHERNET_ON false #endif - + +#if WIFI_ON && ETHERNET_ON + #error Command Station does not support WIFI and ETHERNET at the same time. +#endif + //////////////////////////////////////////////////////////////////////////////// // // This defines the speed at which the Arduino will communicate with the ESP8266 module.