Buggy bois / Mbed 2 deprecated HEATS_2

Dependencies:   mbed

Revision:
6:477382219bcf
Parent:
5:f1613df66ceb
Child:
8:5ed6685f6edd
--- a/WheelControl/Wheel.h	Mon Mar 25 22:42:31 2019 +0000
+++ b/WheelControl/Wheel.h	Tue Mar 26 16:19:47 2019 +0000
@@ -74,6 +74,7 @@
     
     void init2(void) //used as a temporarily wait command for the wheel to spin to max
     {
+        enc->startTimer();
         updater.detach();
         calculateAngularVelocity();
         maxAngularVel = 60.0f;