mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-26 17:46:14 +01:00
Wifi/Ethernet warnings
This commit is contained in:
parent
0a40ef5ceb
commit
a4fc10d466
|
@ -45,7 +45,12 @@
|
|||
*/
|
||||
|
||||
#include "DCCEX.h"
|
||||
|
||||
#ifdef WIFI_WARNING
|
||||
#warning You have defined that you want WiFi but your hardware has not enough memory to do that, so WiFi DISABLED
|
||||
#endif
|
||||
#ifdef ETHERNET_WARNING
|
||||
#warning You have defined that you want Ethernet but your hardware has not enough memory to do that, so Ethernet DISABLED
|
||||
#endif
|
||||
|
||||
void setup()
|
||||
{
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#define WIFI_CHANNEL 1
|
||||
#endif
|
||||
#else
|
||||
#warning You have defined that you want WIFI but your hardware has not enough memory to do that, so WIFI DISABLED
|
||||
#define WIFI_WARNING
|
||||
#define WIFI_ON false
|
||||
#endif
|
||||
#else
|
||||
|
@ -57,7 +57,7 @@
|
|||
#if defined(BIG_RAM)
|
||||
#define ETHERNET_ON true
|
||||
#else
|
||||
#warning You have defined that you want ETHERNET but your hardware has not enough memory to do that, so ETHERNET DISABLED
|
||||
#define ETHERNET_WARNING
|
||||
#define ETHERNET_ON false
|
||||
#endif
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue
Block a user