From 9c5396bbc2b669285f5b142ed8976d6ae358749c Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Thu, 24 Sep 2020 11:27:21 +0200 Subject: [PATCH] not worth the hassle --- DCC.h | 2 +- config.example.h | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/DCC.h b/DCC.h index 1254998..9c5be1e 100644 --- a/DCC.h +++ b/DCC.h @@ -50,7 +50,7 @@ SKIPTARGET=0xFF // jump to target // Allocations with memory implications..! // Base system takes approx 900 bytes + 8 per loco. Turnouts, Sensors etc are dynamically created #ifdef ARDUINO_AVR_UNO - const byte MAX_LOCOS=MAX_MAIN_REGISTERS; + const byte MAX_LOCOS=20; #else const byte MAX_LOCOS=50; #endif diff --git a/config.example.h b/config.example.h index 43bcb2a..42b87d8 100644 --- a/config.example.h +++ b/config.example.h @@ -32,15 +32,6 @@ The configuration file for DCC++ EX Command Station #define TRIP_CURRENT_PROG 250 - -///////////////////////////////////////////////////////////////////////////////////// -// -// DEFINE NUMBER OF MAIN TRACK REGISTER -// THIS ONLY MATTERS ON THE UNO (and compatible) WHERE SPACE IS TIGHT -// THIS IS IGNORED ON OTHER ARDUINOS WHERE THAT IS 50 - -#define MAX_MAIN_REGISTERS 22 - ///////////////////////////////////////////////////////////////////////////////////// // // NOTE: Only the Mega currently supports WiFi since space is a constraint on the Uno