Jens Frank Jensen / Mbed 2 deprecated foc-ed_in_the_bot_compact

Dependencies:   mbed FastPWM3

Revision:
234:ad68d7f8eff1
Parent:
233:2ca26ab47b4f
Child:
240:2aaffa217627
--- a/main.cpp	Sat Nov 10 09:15:26 2018 +0000
+++ b/main.cpp	Sat Nov 10 09:21:51 2018 +0000
@@ -115,6 +115,7 @@
     }
     
     //output to timers (some of the calibration modes may want to override this)
+    //CFG does not override timers - the PWM outputs need to be set to 0 somewhere
     if (!mode_overrides_timers()) {
         set_dtc(io.a, 0.5f + 0.5f * va * LINEAR_MODULATION_MAX);
         set_dtc(io.b, 0.5f + 0.5f * vb * LINEAR_MODULATION_MAX);