diff Discovery/Src/data_central.c @ 138:cc9c18075e00 FlipDisplay

Removed no longer supported scooter code
author Ideenmodellierer
date Sat, 23 Feb 2019 21:10:51 +0100
parents 5f11787b4f42
children e1d66bc78f9a
line wrap: on
line diff
--- a/Discovery/Src/data_central.c	Tue Feb 19 21:48:32 2019 +0100
+++ b/Discovery/Src/data_central.c	Sat Feb 23 21:10:51 2019 +0100
@@ -964,21 +964,3 @@
 	else
 		return false;
 }
-
-uint8_t stateUsed_scooterRemainingBattCapacity(void)
-{
-	const uint8_t useCapacityValue = 1; // 2 is the new one, 1 = scooterRestkapazitaetWhBased is the official used
-	
-	switch(useCapacityValue)
-	{
-		case 0:
-		default:
-			return stateUsed->lifeData.scooterRestkapazitaet;
-
-		case 1:
-			return stateUsed->lifeData.scooterRestkapazitaetWhBased;
-			
-		case 2:
-			return stateUsed->lifeData.scooterRestkapazitaetVoltageBased;
-	}		
-}