Use task notification for mixer scheduler: faster and less RAM
This commit is contained in:
@@ -51,7 +51,6 @@ void init_intmodule_heartbeat()
|
||||
|
||||
NVIC_SetPriority(INTMODULE_HEARTBEAT_EXTI_IRQn,
|
||||
// Highest priority interrupt
|
||||
// TODO: replace with a define...
|
||||
configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY);
|
||||
|
||||
NVIC_EnableIRQ(INTMODULE_HEARTBEAT_EXTI_IRQn);
|
||||
|
||||
@@ -39,7 +39,6 @@ void mixerSchedulerStart()
|
||||
|
||||
NVIC_EnableIRQ(MIXER_SCHEDULER_TIMER_IRQn);
|
||||
NVIC_SetPriority(MIXER_SCHEDULER_TIMER_IRQn,
|
||||
// TODO: replace with a define...
|
||||
configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY);
|
||||
|
||||
MIXER_SCHEDULER_TIMER->SR &= TIM_SR_UIF; // clear interrupt flag
|
||||
|
||||
Reference in New Issue
Block a user