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 GitHub
parent 4f2ff42003
commit adefecca6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
}