Issue #18: Add safety mem corrupt error flag

This commit is contained in:
Mario Hüttel 2020-09-04 23:04:27 +02:00
parent 5d437f3a9f
commit 0f0afcf359
2 changed files with 2 additions and 0 deletions

View File

@ -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 {

View File

@ -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[] = {