Browse Source

Always prompt in M125 if host-prompt (as with Ext UI) (#21828)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
Antonino Di Guardo 3 years ago
parent
commit
adefecca6c
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/gcode/feature/pause/M125.cpp

+ 1
- 1
Marlin/src/gcode/feature/pause/M125.cpp View File

81
   TERN_(POWER_LOSS_RECOVERY, if (recovery.enabled) recovery.save(true));
81
   TERN_(POWER_LOSS_RECOVERY, if (recovery.enabled) recovery.save(true));
82
 
82
 
83
   if (pause_print(retract, park_point, show_lcd, 0)) {
83
   if (pause_print(retract, park_point, show_lcd, 0)) {
84
-    if (ENABLED(EXTENSIBLE_UI) || !sd_printing || show_lcd) {
84
+    if (ENABLED(EXTENSIBLE_UI) || BOTH(EMERGENCY_PARSER, HOST_PROMPT_SUPPORT) || !sd_printing || show_lcd) {
85
       wait_for_confirmation(false, 0);
85
       wait_for_confirmation(false, 0);
86
       resume_print(0, 0, -retract, 0);
86
       resume_print(0, 0, -retract, 0);
87
     }
87
     }

Loading…
Cancel
Save