1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-24 21:21:24 +01:00

Ban mixed wifi/ethernet

This commit is contained in:
Asbelos 2021-03-11 13:58:58 +00:00
parent f2c2e7ecaa
commit 933eab5f2d

View File

@ -38,6 +38,10 @@
#define ETHERNET_ON false #define ETHERNET_ON false
#endif #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. // This defines the speed at which the Arduino will communicate with the ESP8266 module.