changeset 436:079f32a8e68c Improve_BatteryGasGauge

Moved power on detection to RTE: Removed no longer needed funtion to reset the charger status in case of an power on reset
author ideenmodellierer
date Sun, 23 Feb 2020 21:18:49 +0100
parents 8851702173e0
children 6c824f902934
files Discovery/Src/data_exchange_main.c
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Src/data_exchange_main.c	Sun Feb 23 21:17:17 2020 +0100
+++ b/Discovery/Src/data_exchange_main.c	Sun Feb 23 21:18:49 2020 +0100
@@ -416,14 +416,6 @@
 		
 		settingsHelperButtonSens_keepPercentageValues(settingsGetPointerStandard()->ButtonResponsiveness[3], settings->ButtonResponsiveness);
 		setButtonResponsiveness(settings->ButtonResponsiveness);
-		
-		// hw 160720 new lastKnownBatteryPercentage
-		if(!wasUpdateNotPowerOn)
-		{
-//			dataOut.data.newBatteryGaugePercentageFloat = settingsGetPointer()->lastKnownBatteryPercentage;
-			dataOut.data.newBatteryGaugePercentageFloat = 0;
-			dataOut.setBatteryGaugeNow = 1;
-		}
 	}
 }