mirror of
https://github.com/synthetos/g2.git
synced 2026-09-25 08:03:37 +08:00
Adjusted Exec interrupt priority to High, and Fwd Plan to Medium.
This commit is contained in:
+2
-2
@@ -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<MOTORS; motor++) {
|
||||
|
||||
Reference in New Issue
Block a user