diff Discovery/Src/data_central.c @ 281:54d14bc2083c

Fix typos (There are still many...) Limit stored NDL within 0 to 240 mins (Since it's 8bit UINT only) - I asume this is was a bug causing bad NDL readings in the logbook when downloaded with libdivecomputer
author heinrichsweikamp
date Wed, 01 May 2019 14:39:46 +0200
parents 1303747b5ba2
children 5ca177d2df5d
line wrap: on
line diff
--- a/Discovery/Src/data_central.c	Mon Apr 29 19:25:24 2019 +0200
+++ b/Discovery/Src/data_central.c	Wed May 01 14:39:46 2019 +0200
@@ -578,9 +578,9 @@
 
     if((lifeData->actualGas.nitrogen_percentage != nitrogen) || (lifeData->actualGas.helium_percentage != helium))
     {
-    	stateUsedWrite->events.manuelGasSet = 1;
-    	stateUsedWrite->events.info_manuelGasSetHe = helium;
-    	stateUsedWrite->events.info_manuelGasSetO2 = oxygen;
+    	stateUsedWrite->events.manualGasSet = 1;
+    	stateUsedWrite->events.info_manualGasSetHe = helium;
+    	stateUsedWrite->events.info_manualGasSetO2 = oxygen;
     }
     if(	lifeData->actualGas.setPoint_cbar != setpoint_cbar)
     {