@ -10528,8 +10528,8 @@ void process_next_command() {
|
||||
|
||||
#if ENABLED(G38_PROBE_TARGET)
|
||||
case 38: // G38.2 & G38.3
|
||||
if (subcode == 2 || subcode == 3)
|
||||
gcode_G38(subcode == 2);
|
||||
if (parser.subcode == 2 || parser.subcode == 3)
|
||||
gcode_G38(parser.subcode == 2);
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
@ -46,7 +46,7 @@ char *GCodeParser::command_ptr,
|
||||
char GCodeParser::command_letter;
|
||||
int GCodeParser::codenum;
|
||||
#if USE_GCODE_SUBCODES
|
||||
int GCodeParser::subcode;
|
||||
uint8_t GCodeParser::subcode;
|
||||
#endif
|
||||
|
||||
#if ENABLED(FASTER_GCODE_PARSER)
|
||||
|
@ -91,7 +91,7 @@ public:
|
||||
static char command_letter; // G, M, or T
|
||||
static int codenum; // 123
|
||||
#if USE_GCODE_SUBCODES
|
||||
static int subcode; // .1
|
||||
static uint8_t subcode; // .1
|
||||
#endif
|
||||
|
||||
#if ENABLED(DEBUG_GCODE_PARSER)
|
||||
|
Reference in New Issue
Block a user