HAPSRG / Mbed 2 deprecated HAPStail

Dependencies:   mbed MatrixMath LPS25HB_I2C LSM9DS1 Matrix2 PIDcontroller LoopTicker SBUS_without_mainfile UsaPack solaESKF_wind Vector3 CalibrateMagneto FastPWM

Revision:
66:a210d7130a44
Parent:
63:851e96f54a86
Child:
67:1da4e7ccdd2b
--- a/servo.cpp	Tue Jun 22 09:25:32 2021 +0000
+++ b/servo.cpp	Tue Jun 22 10:12:21 2021 +0000
@@ -83,7 +83,8 @@
             ekf.updateAcrossMeasures(LPacc/LPacc.Norm(), accref/accref.Norm(), ekf.Racc);
     } 
      
-    if(loop_count >= 10)
+//    if(loop_count >= 10) 
+    if(loop_count >= 3)
     {
         writeSdcard();
         loop_count = 1;