1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-30 03:26:13 +01:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Kcsmith0708
be77f2e553
Merge 2c133da140 into ed853eef1d 2024-08-19 13:38:27 +09:00
Kcsmith0708
2c133da140
Update DCC.h
Commented MAX_LOCOS
Lowered the default Max for Uno CS from 30 to 10
2024-04-12 10:37:04 -04:00

6
DCC.h
View File

@ -43,9 +43,9 @@ const uint16_t LONG_ADDR_MARKER = 0x4000;
// Allocations with memory implications..! // Allocations with memory implications..!
// Base system takes approx 900 bytes + 8 per loco. Turnouts, Sensors etc are dynamically created // Base system takes approx 900 bytes + 8 per loco. Turnouts, Sensors etc are dynamically created
#if defined(HAS_ENOUGH_MEMORY) #if defined(HAS_ENOUGH_MEMORY)
const byte MAX_LOCOS = 50; const byte MAX_LOCOS = 50; // Default 50 for Mega2560, Increase for ESP32 and STM32 Nucleo
#else #else // Adjust Max Locos as needed.
const byte MAX_LOCOS = 30; const byte MAX_LOCOS = 10; // Lower Max Loco for Uno CS, Recommended as a JMRI DecoderPro Programming Station
#endif #endif
class DCC class DCC