1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 12:51:24 +01:00

not worth the hassle

This commit is contained in:
Harald Barth 2020-09-24 11:27:21 +02:00
parent 812cee364f
commit 9c5396bbc2
2 changed files with 1 additions and 10 deletions

2
DCC.h
View File

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

View File

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