diff Discovery/Src/simulation.c @ 696:cc542448fb28

Merge
author heinrichsweikamp
date Fri, 19 Aug 2022 11:30:24 +0200
parents 05cdd367dbd0
children 01f40cb1057e
line wrap: on
line diff
--- a/Discovery/Src/simulation.c	Mon Nov 01 12:39:34 2021 +0100
+++ b/Discovery/Src/simulation.c	Fri Aug 19 11:30:24 2022 +0200
@@ -391,6 +391,9 @@
 {
     uint8_t ptrGasChangeList = 0; // new hw 160704
 
+    for (int i = 0; i < 40; i++)
+    	gasChangeListDepthGas20x2[i] = 0;
+
     SDiveState * pDiveState = &stateSim;
     copyDiveSettingsToSim();
     vpm_init(&pDiveState->vpm,  pDiveState->diveSettings.vpm_conservatism, 0, 0);