|
@@ -3636,16 +3636,18 @@ inline void gcode_M109() {
|
3636
|
3636
|
inline void gcode_M111() {
|
3637
|
3637
|
marlin_debug_flags = code_seen('S') ? code_value_short() : DEBUG_INFO|DEBUG_COMMUNICATION;
|
3638
|
3638
|
|
3639
|
|
- SERIAL_ECHO_START;
|
3640
|
|
- if (marlin_debug_flags & DEBUG_ECHO) SERIAL_ECHOLNPGM(MSG_DEBUG_ECHO);
|
|
3639
|
+ if (marlin_debug_flags & DEBUG_ECHO) {
|
|
3640
|
+ SERIAL_ECHO_START;
|
|
3641
|
+ SERIAL_ECHOLNPGM(MSG_DEBUG_ECHO);
|
|
3642
|
+ }
|
3641
|
3643
|
// FOR MOMENT NOT ACTIVE
|
3642
|
3644
|
//if (marlin_debug_flags & DEBUG_INFO) SERIAL_ECHOLNPGM(MSG_DEBUG_INFO);
|
3643
|
3645
|
//if (marlin_debug_flags & DEBUG_ERRORS) SERIAL_ECHOLNPGM(MSG_DEBUG_ERRORS);
|
3644
|
3646
|
if (marlin_debug_flags & DEBUG_DRYRUN) {
|
|
3647
|
+ SERIAL_ECHO_START;
|
3645
|
3648
|
SERIAL_ECHOLNPGM(MSG_DEBUG_DRYRUN);
|
3646
|
3649
|
disable_all_heaters();
|
3647
|
3650
|
}
|
3648
|
|
- SERIAL_EOL;
|
3649
|
3651
|
}
|
3650
|
3652
|
|
3651
|
3653
|
/**
|