Changed M110 to match the description in the RepRap Wiki.
This commit is contained in:
parent
c6a9f24e24
commit
5c0dde4e14
|
|
@ -324,7 +324,8 @@ void gcode_parse_char(uint8_t c) {
|
|||
|
||||
if (
|
||||
#ifdef REQUIRE_LINENUMBER
|
||||
(next_target.N >= next_target.N_expected) && (next_target.seen_N == 1)
|
||||
((next_target.N >= next_target.N_expected) && (next_target.seen_N == 1)) ||
|
||||
(next_target.seen_M && (next_target.M == 110))
|
||||
#else
|
||||
1
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -364,7 +364,7 @@ void process_gcode_command() {
|
|||
|
||||
// M110- set line number
|
||||
case 110:
|
||||
next_target.N_expected = next_target.S - 1;
|
||||
// this is a no-op in Teacup
|
||||
break;
|
||||
// M111- set debug level
|
||||
#ifdef DEBUG
|
||||
|
|
|
|||
Loading…
Reference in New Issue