feat(gx12): add safety timer for port expander (#6325)
This commit is contained in:
@@ -26,8 +26,6 @@
|
||||
#include "hal.h"
|
||||
#include "hal/watchdog_driver.h"
|
||||
|
||||
#include "FreeRTOSConfig.h"
|
||||
|
||||
static volatile uint32_t _ms_ticks;
|
||||
|
||||
static void _init_1ms_timer()
|
||||
@@ -45,7 +43,7 @@ static void _init_1ms_timer()
|
||||
MS_TIMER->DIER = TIM_DIER_UIE;
|
||||
|
||||
NVIC_EnableIRQ(MS_TIMER_IRQn);
|
||||
NVIC_SetPriority(MS_TIMER_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY);
|
||||
NVIC_SetPriority(MS_TIMER_IRQn, 4);
|
||||
}
|
||||
|
||||
void timersInit()
|
||||
|
||||
Reference in New Issue
Block a user