From fc400d7c3d75b6b1c0a616c5c720eeefa8cbfba3 Mon Sep 17 00:00:00 2001 From: Rob Giseburt Date: Wed, 6 Nov 2019 10:06:14 -0500 Subject: [PATCH] Removed out-of-date debug_trap_if_true --- g2core/plan_exec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g2core/plan_exec.cpp b/g2core/plan_exec.cpp index 76e136e2..6a811597 100644 --- a/g2core/plan_exec.cpp +++ b/g2core/plan_exec.cpp @@ -281,7 +281,7 @@ stat_t mp_exec_move() } if (bf->buffer_state == MP_BUFFER_BACK_PLANNED) { - debug_trap_if_true((cm->motion_state == MOTION_RUN), "mp_exec_move() buffer prepped but not planned"); + // debug_trap_if_true((cm->motion_state == MOTION_RUN), "mp_exec_move() buffer prepped but not planned"); // IMPORTANT: can't rpt_exception from here! // We need to have it planned. We don't want to do this here, // as it might already be happening in a lower interrupt.