Implement misc CRC monitor to supervise clocks and other system settings

This commit is contained in:
2023-05-23 18:30:27 +02:00
parent dd6a7bef18
commit b6befa70a2
3 changed files with 52 additions and 5 deletions

View File

@@ -23,6 +23,7 @@
* @brief Main file for firmware
*/
#include "reflow-controller/safety/safety-config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -215,6 +216,9 @@ static inline void setup_system(void)
/** - Enable the ADC for PT1000 measurement */
adc_pt1000_setup_meas();
/** - Enable the misc CRC config monitor to supervise clock, systick and flash settings */
(void)safety_controller_set_crc_monitor(ERR_CRC_MON_MISC, SAFETY_CRC_MON_MISC_PW);
}
/**