From 4342217159d8c3a4f02783936b8338550d084073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sun, 26 Mar 2023 08:54:47 +0000 Subject: [PATCH] Add comment about planner_aborted = false --- Firmware/mmu2_marlin1.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Firmware/mmu2_marlin1.cpp b/Firmware/mmu2_marlin1.cpp index c197d2b01..58ce99171 100644 --- a/Firmware/mmu2_marlin1.cpp +++ b/Firmware/mmu2_marlin1.cpp @@ -20,6 +20,12 @@ float MoveRaiseZ(float delta) { void planner_abort_queued_moves() { planner_abort_hard(); + + // Unblock the planner. This should be safe in the + // toolchange context. Currently we are mainly aborting + // excess E-moves after detecting filament during toolchange. + // If a MMU error is reported, the planner must be unblocked + // as well so the extruder can be parked safely. planner_aborted = false; }