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