Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- 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);