diff --git a/lib/Prusa-Error-Codes/yaml/buddy-error-codes.yaml b/lib/Prusa-Error-Codes/yaml/buddy-error-codes.yaml index 6bf7a677f4..3114c36f42 100644 --- a/lib/Prusa-Error-Codes/yaml/buddy-error-codes.yaml +++ b/lib/Prusa-Error-Codes/yaml/buddy-error-codes.yaml @@ -26,7 +26,7 @@ Errors: printers: [MK4, COREONE, iX] title: "STUCK FILAMENT DETECTED" text: "The filament seems to be stuck, please unload it from nextruder and load it again." - action: [Unload] + action: [Unload, StopPrint] id: "STUCK_FILAMENT_DETECTED" gui_layout: "warning_dialog" approved: true @@ -98,7 +98,7 @@ Errors: printers: [XL] title: "STUCK FILAMENT DETECTED" text: "The filament seems to be stuck, please unload it from nextruder and load it again." - action: [Unload] + action: [Unload, StopPrint] gui_layout: "red_screen" id: "STUCK_FILAMENT_DETECTED" approved: true diff --git a/src/marlin_stubs/pause/pause.cpp b/src/marlin_stubs/pause/pause.cpp index cbb3149408..7e8e3a581a 100644 --- a/src/marlin_stubs/pause/pause.cpp +++ b/src/marlin_stubs/pause/pause.cpp @@ -937,6 +937,8 @@ void Pause::filament_stuck_ask_process(Response response) { if (response == Response::Unload) { set(LoadState::unload_wait_temp); + } else if (response == Response::Stop) { + settings.do_stop = true; } } #endif