Merge branches 'master' and 'master' of ssh://git.hiabuto.net:2222/souko/Kettenoeler
This commit is contained in:
commit
4843cc15c9
@ -9,15 +9,19 @@ void RunLubeApp(uint32_t add_milimeters)
|
||||
|
||||
static tSystem_Status preserverSysStatusError;
|
||||
|
||||
if (globals.systemStatus != sysStat_Error)
|
||||
preserverSysStatusError = globals.systemStatus;
|
||||
|
||||
if (getlastDTC(true) < DTC_LAST_DTC)
|
||||
{
|
||||
if (globals.systemStatus != sysStat_Error)
|
||||
preserverSysStatusError = globals.systemStatus;
|
||||
globals.systemStatus = sysStat_Error;
|
||||
}
|
||||
else
|
||||
{
|
||||
globals.systemStatus = preserverSysStatusError;
|
||||
if (globals.systemStatus == sysStat_Error)
|
||||
{
|
||||
globals.systemStatus = preserverSysStatusError;
|
||||
}
|
||||
}
|
||||
|
||||
// Add traveled Distance in mm
|
||||
|
Loading…
x
Reference in New Issue
Block a user