Fix bug in handling of error memory NOP entries
This commit is contained in:
@@ -35,7 +35,7 @@ static int word_to_error_memory_entry(uint32_t entry_data, struct error_memory_e
|
||||
if (!out)
|
||||
return -1002;
|
||||
|
||||
if (entry_data == SAFETY_MEMORY_ERR_ENTRY_NOP) {
|
||||
if (entry_data == SAFETY_MEMORY_NOP_ENTRY) {
|
||||
out->flag_num = 0U;
|
||||
out->type = SAFETY_MEMORY_ERR_ENTRY_NOP;
|
||||
out->counter = 0U;
|
||||
|
Reference in New Issue
Block a user