Fixed interrupt prio

This commit is contained in:
Raphael Coeffic
2021-07-31 17:31:50 +02:00
parent 40609f5d67
commit 421d19bc6b
2 changed files with 2 additions and 2 deletions
@@ -52,7 +52,7 @@ void init_intmodule_heartbeat()
NVIC_SetPriority(INTMODULE_HEARTBEAT_EXTI_IRQn,
// Highest priority interrupt
// TODO: replace with a define...
configMAX_SYSCALL_INTERRUPT_PRIORITY);
configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY);
NVIC_EnableIRQ(INTMODULE_HEARTBEAT_EXTI_IRQn);
heartbeatCapture.valid = true;