diff Discovery/Src/simulation.c @ 699:01f40cb1057e

Cleanup warnings: The code still contained several warnings which have now been resolved. Big thank you to Thomas :-)
author Ideenmodellierer
date Tue, 18 Oct 2022 20:56:19 +0200
parents 05cdd367dbd0
children be25ab2d902c
line wrap: on
line diff
--- a/Discovery/Src/simulation.c	Sun Sep 25 21:13:45 2022 +0200
+++ b/Discovery/Src/simulation.c	Tue Oct 18 20:56:19 2022 +0200
@@ -131,7 +131,7 @@
     static _Bool two_second = 0;
     static float lastPressure_bar = 0;
 
-    float localCalibCoeff[3];
+    float localCalibCoeff[3] = { 0.0, 0.0, 0.0 };
     uint8_t index, index2;
 
     if(checkOncePerSecond)