diff Discovery/Src/data_exchange_main.c @ 437:6c824f902934

Merged in Ideenmodellierer/ostc4/Improve_BatteryGasGauge (pull request #40) Improve BatteryGasGauge
author heinrichsweikamp <bitbucket@heinrichsweikamp.com>
date Mon, 24 Feb 2020 07:58:37 +0000
parents 079f32a8e68c
children f1257a32f2d4
line wrap: on
line diff
--- a/Discovery/Src/data_exchange_main.c	Tue Feb 18 12:41:45 2020 +0100
+++ b/Discovery/Src/data_exchange_main.c	Mon Feb 24 07:58:37 2020 +0000
@@ -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;
-		}
 	}
 }