1
0
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:
travis-farmer 2023-11-19 15:27:26 -05:00
parent 5aca3a62d8
commit 1a4fff8924
No known key found for this signature in database
GPG Key ID: 0BC296791D14CB35

4
DCC.h
View File

@ -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