diff Discovery/Src/vpm.c @ 51:8f8ea3a32e82

Resolved warnings pointing to possible invalid memory access
author Ideenmodellierer
date Tue, 31 Jul 2018 22:28:21 +0200
parents 5f11787b4f42
children e1d66bc78f9a
line wrap: on
line diff
--- a/Discovery/Src/vpm.c	Mon Jul 30 11:37:39 2018 +0200
+++ b/Discovery/Src/vpm.c	Tue Jul 31 22:28:21 2018 +0200
@@ -2059,7 +2059,7 @@
 //	float weighted_allowable_gradient;
     float initial_helium_pressure[16];
  /* by hw */
-    float initial_CNS;
+    float initial_CNS = gCNS_VPM;
 
     //static float time_counter;
     short i;