Skip to content

Commit

Permalink
Undo max params
Browse files Browse the repository at this point in the history
  • Loading branch information
peteGSX committed Aug 30, 2023
1 parent 232ac99 commit dbf0538
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion DCCEXParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
11 changes: 0 additions & 11 deletions defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dbf0538

Please sign in to comment.