apparently repg expects N preceding line numbers in resend requests
This commit is contained in:
parent
83fa3f7d09
commit
72adba5a58
|
|
@ -332,12 +332,12 @@ void gcode_parse_char(uint8_t c) {
|
||||||
next_target.N_expected = next_target.N + 1;
|
next_target.N_expected = next_target.N + 1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sersendf_P(PSTR("rs %ld Expected checksum %d\n"), next_target.N_expected, next_target.checksum_calculated);
|
sersendf_P(PSTR("rs N%ld Expected checksum %d\n"), next_target.N_expected, next_target.checksum_calculated);
|
||||||
request_resend();
|
request_resend();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sersendf_P(PSTR("rs %ld Expected line number %ld\n"), next_target.N_expected, next_target.N_expected);
|
sersendf_P(PSTR("rs N%ld Expected line number %ld\n"), next_target.N_expected, next_target.N_expected);
|
||||||
request_resend();
|
request_resend();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue