mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-02-19 23:46:02 +01:00
adding more locos for Giga
This commit is contained in:
parent
5aca3a62d8
commit
1a4fff8924
4
DCC.h
4
DCC.h
@ -43,7 +43,11 @@ const uint16_t LONG_ADDR_MARKER = 0x4000;
|
||||
// Allocations with memory implications..!
|
||||
// Base system takes approx 900 bytes + 8 per loco. Turnouts, Sensors etc are dynamically created
|
||||
#if defined(HAS_ENOUGH_MEMORY)
|
||||
#if defined(ARDUINO_GIGA) // yes giga
|
||||
const byte MAX_LOCOS = 100;
|
||||
#else // no giga
|
||||
const byte MAX_LOCOS = 50;
|
||||
#endif // giga
|
||||
#else
|
||||
const byte MAX_LOCOS = 30;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user