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