HAPSRG / Mbed 2 deprecated HAPStail

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

Revision:
73:be7a8b8188de
Parent:
71:62eb45ecffe9
Child:
74:af3b7cedff56
diff -r 43dfa7a597e7 -r be7a8b8188de servo.cpp
--- a/servo.cpp	Fri Aug 20 07:51:51 2021 +0000
+++ b/servo.cpp	Wed Aug 25 07:01:12 2021 +0000
@@ -72,14 +72,5 @@
     }
     
     servo.pulsewidth_us(servoOut[0]);
-     
-    if(loop_count >= 3)
-    {
-        writeSdcard();
-        loop_count = 1;
-    }
-    else
-    {
-        loop_count +=1;
-    }
+    send2center();
 }
\ No newline at end of file