move Echo on/off to M240/M241
This commit is contained in:
parent
1815ab1ef7
commit
4ed24d4507
|
|
@ -379,14 +379,14 @@ void process_gcode_command() {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
// M140- echo off
|
// M240- echo off
|
||||||
case 140:
|
case 240:
|
||||||
debug_flags &= ~DEBUG_ECHO;
|
debug_flags &= ~DEBUG_ECHO;
|
||||||
serial_writestr_P(PSTR("Echo off"));
|
serial_writestr_P(PSTR("Echo off"));
|
||||||
// newline is sent from gcode_parse after we return
|
// newline is sent from gcode_parse after we return
|
||||||
break;
|
break;
|
||||||
// M141- echo on
|
// M241- echo on
|
||||||
case 141:
|
case 241:
|
||||||
debug_flags |= DEBUG_ECHO;
|
debug_flags |= DEBUG_ECHO;
|
||||||
serial_writestr_P(PSTR("Echo on"));
|
serial_writestr_P(PSTR("Echo on"));
|
||||||
// newline is sent from gcode_parse after we return
|
// newline is sent from gcode_parse after we return
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue