From 53e0eb85eb0abb97516017d7e32060ee1b77d972 Mon Sep 17 00:00:00 2001 From: Rob Giseburt Date: Wed, 8 Feb 2017 13:50:18 -0600 Subject: [PATCH] Adjusted Exec interrupt priority to High, and Fwd Plan to Medium. --- g2core/stepper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/g2core/stepper.cpp b/g2core/stepper.cpp index e277b32e..a08fe18f 100644 --- a/g2core/stepper.cpp +++ b/g2core/stepper.cpp @@ -125,11 +125,11 @@ void stepper_init() dda_timer.setInterrupts(kInterruptOnOverflow | kInterruptPriorityHighest); // setup software interrupt exec timer & initial condition - exec_timer.setInterrupts(kInterruptOnSoftwareTrigger | kInterruptPriorityMedium); + exec_timer.setInterrupts(kInterruptOnSoftwareTrigger | kInterruptPriorityHigh); st_pre.buffer_state = PREP_BUFFER_OWNED_BY_EXEC; // setup software interrupt forward plan timer & initial condition - fwd_plan_timer.setInterrupts(kInterruptOnSoftwareTrigger | kInterruptPriorityLow); + fwd_plan_timer.setInterrupts(kInterruptOnSoftwareTrigger | kInterruptPriorityMedium); // setup motor power levels and apply power level to stepper drivers for (uint8_t motor=0; motor