mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-23 16:16:13 +01:00
make match master
This commit is contained in:
parent
c53dea018f
commit
052178970b
16
defines.h
16
defines.h
|
@ -22,8 +22,11 @@
|
||||||
//
|
//
|
||||||
// WIFI_ON: All prereqs for running with WIFI are met
|
// 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))
|
#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
|
#endif
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -32,14 +35,3 @@
|
||||||
// Currently only devices which can communicate at 115200 are supported.
|
// Currently only devices which can communicate at 115200 are supported.
|
||||||
//
|
//
|
||||||
#define WIFI_SERIAL_LINK_SPEED 115200
|
#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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user