From 1a4fff89248eaf30407db943cbc41960dc2c08f7 Mon Sep 17 00:00:00 2001 From: travis-farmer Date: Sun, 19 Nov 2023 15:27:26 -0500 Subject: [PATCH] adding more locos for Giga --- DCC.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DCC.h b/DCC.h index 74b4e77..2ac5ab9 100644 --- a/DCC.h +++ b/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