From 434386e6cc3ed335b3176b865ed90736e1aca687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sun, 11 Jun 2023 15:24:30 +0000 Subject: [PATCH] Log event when planner is aborted It may be useful to see if any moves are lost Change in memory: Flash: +32 bytes SRAM: 0 bytes --- Firmware/planner.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Firmware/planner.cpp b/Firmware/planner.cpp index 9406fe839..b68b6e2f1 100644 --- a/Firmware/planner.cpp +++ b/Firmware/planner.cpp @@ -718,6 +718,8 @@ void plan_buffer_line(float x, float y, float z, const float &e, float feed_rate #endif /* PLANNER_DIAGNOSTICS */ if(planner_aborted) { // avoid planning the block early if aborted + SERIAL_ECHO_START; + SERIAL_ECHOLNRPGM(_n("Move aborted")); return; }