From 2116759154427e7d043ac8e1179ea75116f23a07 Mon Sep 17 00:00:00 2001 From: Rob Giseburt Date: Tue, 27 Oct 2020 16:03:53 -0500 Subject: [PATCH] Fix for final gcode (if non-move) being dropped in some cases. --- g2core/plan_exec.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/g2core/plan_exec.cpp b/g2core/plan_exec.cpp index f4381398..d08894ef 100644 --- a/g2core/plan_exec.cpp +++ b/g2core/plan_exec.cpp @@ -191,7 +191,6 @@ stat_t mp_forward_plan() // Case 0: Examine current running buffer for early exit conditions if (bf == NULL) { // case 0a: NULL means nothing is running - this is OK - st_prep_null(); return (STAT_OK); } if (bf->buffer_state < MP_BUFFER_BACK_PLANNED) { // case 0b: nothing to do. get outta here.