Add timing monitor for main loop and add monitors to safety flag command
This commit is contained in:
@@ -37,12 +37,14 @@ enum safety_flag {
|
||||
ERR_FLAG_WTCHDG_FIRED = (1<<11),
|
||||
ERR_FLAG_UNCAL = (1<<12),
|
||||
ERR_FLAG_DEBUG = (1<<13),
|
||||
ERR_FLAG_TIMING_MAIN_LOOP = (1<<14),
|
||||
};
|
||||
|
||||
enum timing_monitor {
|
||||
ERR_TIMING_PID = (1<<0),
|
||||
ERR_TIMING_MEAS_ADC = (1<<1),
|
||||
ERR_TIMING_SAFETY_ADC = (1<<2),
|
||||
ERR_TIMING_MAIN_LOOP = (1<<3),
|
||||
};
|
||||
|
||||
enum analog_value_monitor {
|
||||
|
||||
Reference in New Issue
Block a user