mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-28 06:21:31 +00:00
Put the mandatory test of gcode_N first
This commit is contained in:
parent
30976f9773
commit
862c72b030
@ -801,7 +801,7 @@ void get_command() {
|
||||
|
||||
gcode_N = strtol(npos + 1, NULL, 10);
|
||||
|
||||
if (!M110 && gcode_N != gcode_LastN + 1) {
|
||||
if (gcode_N != gcode_LastN + 1 && !M110) {
|
||||
gcode_line_error(PSTR(MSG_ERR_LINE_NO));
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user