File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ void GcodeSuite::dwell(const millis_t time) {
319
319
/* *
320
320
* Process the parsed command and dispatch it to its handler
321
321
*/
322
- void GcodeSuite::process_parsed_command (const bool no_ok/* =false*/ ) {
322
+ void GcodeSuite::process_parsed_command (bool no_ok/* =false*/ ) {
323
323
TERN_ (HAS_FANCHECK, fan_check.check_deferred_error ());
324
324
325
325
KEEPALIVE_STATE (IN_HANDLER);
@@ -582,7 +582,7 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
582
582
case 109 : M109 (); break ; // M109: Wait for hotend temperature to reach target
583
583
#endif
584
584
585
- case 105 : M105 (); return ; // M105: Report Temperatures (and say "ok")
585
+ case 105 : M105 (); no_ok = true ; break ; // M105: Report Temperatures (and say "ok")
586
586
587
587
#if HAS_FAN
588
588
case 106 : M106 (); break ; // M106: Fan On
Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ class GcodeSuite {
458
458
static int8_t get_target_e_stepper_from_command (const int8_t dval=-1 );
459
459
static void get_destination_from_command ();
460
460
461
- static void process_parsed_command (const bool no_ok=false );
461
+ static void process_parsed_command (bool no_ok=false );
462
462
static void process_next_command ();
463
463
464
464
// Execute G-code in-place, preserving current G-code parameters
You can’t perform that action at this time.
0 commit comments