Change parser codebits from array to int32_t

This commit is contained in:
Scott Lahteine 2018-01-23 20:32:22 -06:00
parent 1b84807eb0
commit 59b5800e58
2 changed files with 16 additions and 19 deletions

View file

@ -53,7 +53,7 @@ int GCodeParser::codenum;
#if ENABLED(FASTER_GCODE_PARSER)
// Optimized Parameters
byte GCodeParser::codebits[4]; // found bits
uint32_t GCodeParser::codebits; // found bits
uint8_t GCodeParser::param[26]; // parameter offsets from command_ptr
#else
char *GCodeParser::command_args; // start of parameters
@ -76,7 +76,7 @@ void GCodeParser::reset() {
subcode = 0; // No command sub-code
#endif
#if ENABLED(FASTER_GCODE_PARSER)
ZERO(codebits); // No codes yet
codebits = 0; // No codes yet
//ZERO(param); // No parameters (should be safe to comment out this line)
#endif
}