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

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
Antonino Di Guardo 2021-05-08 11:27:02 +00:00 committed by Scott Lahteine
parent 5d8d03da03
commit e865cc0249

View file

@ -81,7 +81,7 @@ void GcodeSuite::M125() {
TERN_(POWER_LOSS_RECOVERY, if (recovery.enabled) recovery.save(true));
if (pause_print(retract, park_point, show_lcd, 0)) {
if (ENABLED(EXTENSIBLE_UI) || !sd_printing || show_lcd) {
if (ENABLED(EXTENSIBLE_UI) || BOTH(EMERGENCY_PARSER, HOST_PROMPT_SUPPORT) || !sd_printing || show_lcd) {
wait_for_confirmation(false, 0);
resume_print(0, 0, -retract, 0);
}