1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-04-20 20:21:18 +02:00

Merge 2c133da14040d63993a71bd82ded11560255d646 into 6f1c7a9e985869bae0dcd527528afafdb8b28190

This commit is contained in:
Kcsmith0708 2025-01-05 23:39:56 +01:00 committed by GitHub
commit ba263966d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

6
DCC.h
View File

@ -43,9 +43,9 @@ 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)
const byte MAX_LOCOS = 50;
#else
const byte MAX_LOCOS = 30;
const byte MAX_LOCOS = 50; // Default 50 for Mega2560, Increase for ESP32 and STM32 Nucleo
#else // Adjust Max Locos as needed.
const byte MAX_LOCOS = 10; // Lower Max Loco for Uno CS, Recommended as a JMRI DecoderPro Programming Station
#endif
class DCC