Fix mask for misc crc cfg monitor

This commit is contained in:
Mario Hüttel 2023-05-23 19:03:50 +02:00
parent 1c1874abf1
commit 34ad930bd8

View File

@ -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
};