Issue #18: Add safety mem corrupt error flag
This commit is contained in:
parent
5d437f3a9f
commit
0f0afcf359
@ -38,6 +38,7 @@ enum safety_flag {
|
||||
ERR_FLAG_UNCAL = (1<<12),
|
||||
ERR_FLAG_DEBUG = (1<<13),
|
||||
ERR_FLAG_TIMING_MAIN_LOOP = (1<<14),
|
||||
ERR_FLAG_SAFETY_MEM_CORRUPT = (1<<15),
|
||||
};
|
||||
|
||||
enum timing_monitor {
|
||||
|
@ -91,6 +91,7 @@ static volatile struct error_flag flags[] = {
|
||||
ERR_FLAG_ENTRY(ERR_FLAG_UNCAL, false),
|
||||
ERR_FLAG_ENTRY(ERR_FLAG_DEBUG, true),
|
||||
ERR_FLAG_ENTRY(ERR_FLAG_TIMING_MAIN_LOOP, false),
|
||||
ERR_FLAG_ENTRY(ERR_FLAG_SAFETY_MEM_CORRUPT, true),
|
||||
};
|
||||
|
||||
static volatile struct timing_mon timings[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user