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:
- 38:07cb4ae6c1bd
- Parent:
- 37:ba7ebf4f8a78
- Child:
- 39:80b38a8e1787
--- a/main.cpp Sun Nov 27 11:36:54 2016 +0000 +++ b/main.cpp Tue Nov 29 00:31:18 2016 +0000 @@ -142,9 +142,9 @@ vd = constrain(vd, -1.0f, 1.0f); vq = constrain(vq, -1.0f, 1.0f); + /* float v = sqrtf(vd * vd + vq * vq); - /* if (v > 1.0f) { vq = sqrtf(1.0f - vd * vd); }