Team S - EDP 2 / Mbed 2 deprecated modular_signal_processing

Dependencies:   mbed

Fork of modular_signal_processing by Conor Begley

Revision:
3:c61f5ff0f916
Parent:
2:319575416324
Child:
4:bfa5feb61689
--- a/main.cpp	Thu Feb 15 21:01:54 2018 +0000
+++ b/main.cpp	Thu Feb 15 21:24:51 2018 +0000
@@ -92,7 +92,7 @@
         avg_sum += data;                   //Update running sum
 
         if (avg_write == 0) {                 //First 160 values have been added to buffer
-            intialised= false;
+            intialised= true;
 
             //Get inital min and max
             max = initialMax();