From 00cba7b5ac363fad7aaa41bc359862d939871acb Mon Sep 17 00:00:00 2001 From: Marcel Peterkau Date: Fri, 24 Feb 2023 19:23:31 +0100 Subject: [PATCH] DTC-Severity was not correctly set on new DTCs --- Software/src/dtc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Software/src/dtc.cpp b/Software/src/dtc.cpp index 677cd34..96df7b0 100644 --- a/Software/src/dtc.cpp +++ b/Software/src/dtc.cpp @@ -39,6 +39,7 @@ void MaintainDTC(DTCNums_t DTC_no, DTCSeverity_t DTC_severity, boolean active, u DTCStorage[i].timestamp = millis(); DTCStorage[i].active = DTC_ACTIVE; DTCStorage[i].debugVal = DebugValue; + DTCStorage[i].severity = DTC_severity; return; } }