Browse Source

Put the mandatory test of gcode_N first

pull/1/head
Scott Lahteine 9 years ago
committed by Richard Wackerbarth
parent
commit
862c72b030
  1. 2
      Marlin/Marlin_main.cpp

2
Marlin/Marlin_main.cpp

@ -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…
Cancel
Save