1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-26 17:46:14 +01:00

Undo max params

This commit is contained in:
peteGSX 2023-08-30 13:40:09 +10:00
parent 232ac993ec
commit dbf053858b
2 changed files with 1 additions and 12 deletions

View File

@ -38,7 +38,7 @@ struct DCCEXParser
static void setFilter(FILTER_CALLBACK filter);
static void setRMFTFilter(FILTER_CALLBACK filter);
static void setAtCommandCallback(AT_COMMAND_CALLBACK filter);
static const int MAX_COMMAND_PARAMS=MAX_PARSER_PARAMS; // Must not exceed this
static const int MAX_COMMAND_PARAMS=10; // Must not exceed this
private:

View File

@ -222,17 +222,6 @@
#define IO_NO_HAL
#endif
////////////////////////////////////////////////////////////////////////////////
//
// This defines the maximum number of parameters DCCEXParser will accept.
// The increase is required to allow for a sufficient number of turntable positions.
//
#ifdef IO_NO_HAL
#define MAX_PARSER_PARAMS 10
#else
#define MAX_PARSER_PARAMS 20
#endif
#if __has_include ( "myAutomation.h")
#if defined(HAS_ENOUGH_MEMORY) || defined(DISABLE_EEPROM) || defined(DISABLE_PROG)
#define EXRAIL_ACTIVE