|
@@ -757,10 +757,9 @@ void get_command() {
|
757
|
757
|
gcode_N = (strtol(strchr_pointer + 1, NULL, 10));
|
758
|
758
|
if (gcode_N != gcode_LastN + 1 && strstr_P(command, PSTR("M110")) == NULL) {
|
759
|
759
|
SERIAL_ERROR_START;
|
760
|
|
- SERIAL_ERRORPGM(MSG_ERR_LINE_NO1);
|
761
|
|
- SERIAL_ERROR(gcode_LastN + 1);
|
762
|
|
- SERIAL_ERRORPGM(MSG_ERR_LINE_NO2);
|
763
|
|
- SERIAL_ERRORLN(gcode_N);
|
|
760
|
+ SERIAL_ERRORPGM(MSG_ERR_LINE_NO);
|
|
761
|
+ SERIAL_ERRORLN(gcode_LastN);
|
|
762
|
+ //Serial.println(gcode_N);
|
764
|
763
|
FlushSerialRequestResend();
|
765
|
764
|
serial_count = 0;
|
766
|
765
|
return;
|