diff --git a/stm-firmware/safety/safety-controller.c b/stm-firmware/safety/safety-controller.c index cb3c222..21305f1 100644 --- a/stm-firmware/safety/safety-controller.c +++ b/stm-firmware/safety/safety-controller.c @@ -329,7 +329,7 @@ static const struct crc_monitor_register misc_config_crc_regs[] = { /* Check vector table offset */ CRC_MON_REGISTER_ENTRY(SCB->VTOR, 0xFFFFFFFF, 4), /* Check system tick configuration */ - CRC_MON_REGISTER_ENTRY(SysTick->CTRL, 0xFFFFFFFF, 4), + CRC_MON_REGISTER_ENTRY(SysTick->CTRL, SysTick_CTRL_CLKSOURCE_Msk | SysTick_CTRL_TICKINT_Msk | SysTick_CTRL_ENABLE_Msk, 4), CRC_MON_REGISTER_ENTRY(SysTick->LOAD, 0xFFFFFFFF, 4), CRC_MON_REGISTER_SENTINEL };