diff --git a/Software/src/dtc.cpp b/Software/src/dtc.cpp index 23a0f55..4641b0b 100644 --- a/Software/src/dtc.cpp +++ b/Software/src/dtc.cpp @@ -116,7 +116,7 @@ void DTC_Process() if (getlastDTC(false) < DTC_LAST_DTC) { globals.hasDTC = true; - if (getlastDTC_Severity(true, DTC_CRITICAL) < DTC_LAST_DTC) + if (getlastDTC_Severity(true, DTC_CRITICAL) < DTC_LAST_DTC && globals.systemStatus != sysStat_Shutdown) { if (globals.systemStatus != sysStat_Error) {