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

Removed no longer supported scooter code
author Ideenmodellierer
date Sat, 23 Feb 2019 21:10:51 +0100
parents 8f8ea3a32e82
children 1719b9d1094b
line wrap: on
line diff
--- a/Discovery/Src/simulation.c	Tue Feb 19 21:48:32 2019 +0100
+++ b/Discovery/Src/simulation.c	Sat Feb 23 21:10:51 2019 +0100
@@ -148,21 +148,6 @@
     else if(pDiveState->lifeData.depth_meter <= (float)(decom_get_actual_deco_stop(pDiveState) + 0.001))
       sim_reduce_deco_time_one_second(pDiveState);
 
-    if(getLicence() == LICENCEBONEX)
-    {
-        pDiveState->lifeData.scooterType = stateRealGetPointer()->lifeData.scooterType;
-        pDiveState->lifeData.scooterTemperature = stateRealGetPointer()->lifeData.scooterTemperature;
-        pDiveState->lifeData.scooterAgeInMilliSeconds = stateRealGetPointer()->lifeData.scooterAgeInMilliSeconds;
-        pDiveState->lifeData.scooterDrehzahl = stateRealGetPointer()->lifeData.scooterDrehzahl;
-        pDiveState->lifeData.scooterRestkapazitaet = stateRealGetPointer()->lifeData.scooterRestkapazitaet;
-        pDiveState->lifeData.scooterWattstunden = stateRealGetPointer()->lifeData.scooterWattstunden;
-        pDiveState->lifeData.scooterAmpere = stateRealGetPointer()->lifeData.scooterAmpere;
-        pDiveState->lifeData.scooterSpannung = stateRealGetPointer()->lifeData.scooterSpannung;
-        pDiveState->lifeData.scooterSpeed = stateRealGetPointer()->lifeData.scooterSpeed;
-        pDiveState->lifeData.scooterRestkapazitaetWhBased = stateRealGetPointer()->lifeData.scooterRestkapazitaetWhBased;
-        pDiveState->lifeData.scooterRestkapazitaetVoltageBased = stateRealGetPointer()->lifeData.scooterRestkapazitaetVoltageBased;
-    }
-
     pDiveState->lifeData.ppO2Sensor_bar[0] = stateRealGetPointer()->lifeData.ppO2Sensor_bar[0];
     pDiveState->lifeData.ppO2Sensor_bar[1] = stateRealGetPointer()->lifeData.ppO2Sensor_bar[1];
     pDiveState->lifeData.ppO2Sensor_bar[2] = stateRealGetPointer()->lifeData.ppO2Sensor_bar[2];