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: millis
Diff: main.cpp
- Revision:
- 21:0cc8e3ee53f6
- Parent:
- 20:0add93a69df5
- Child:
- 24:15239fb901b0
--- a/main.cpp Tue May 17 10:43:19 2022 +0000
+++ b/main.cpp Tue May 17 10:49:37 2022 +0000
@@ -367,12 +367,7 @@
/////////////////////////Innovation braking end
//normal throttle control
else {
- if (remote.throttle == 0 and dashboard.currentSpeed == 0){
- brakeControl(2);
- }
- else {
speedControl(remote.throttle);
- }
pc.printf("Throttling: %d\r\n", remote.throttle);
}
} // remote.throttle