fixed cannot shutdown when in ErrorState
This commit is contained in:
parent
fb366b4976
commit
335b883043
@ -116,7 +116,7 @@ void DTC_Process()
|
|||||||
if (getlastDTC(false) < DTC_LAST_DTC)
|
if (getlastDTC(false) < DTC_LAST_DTC)
|
||||||
{
|
{
|
||||||
globals.hasDTC = true;
|
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)
|
if (globals.systemStatus != sysStat_Error)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user