Implement misc CRC monitor to supervise clocks and other system settings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user