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.
Dependencies: motor_relay
Dependents: dog_V3_3_testmotor
Diff: motion_control.cpp
- Revision:
- 6:41d7cf11fdb1
- Parent:
- 5:91d905f8bef7
- Child:
- 7:94518aee126b
--- a/motion_control.cpp Sun Jul 19 17:38:21 2015 +0000 +++ b/motion_control.cpp Mon Jul 20 09:15:28 2015 +0000 @@ -41,7 +41,7 @@ { uint16_t current =Scale(_position.read_u16()); //target = Scale(target); - if(target > scale || target < 0) { + if(target > scale) { return -3; }