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: motordriver.cpp
- Revision:
- 5:3110b9209d3c
- Parent:
- 4:5fb1296c0d60
- Child:
- 6:8f0bbf0076ca
diff -r 5fb1296c0d60 -r 3110b9209d3c motordriver.cpp
--- a/motordriver.cpp Thu Nov 25 13:31:22 2010 +0000
+++ b/motordriver.cpp Thu Nov 25 13:34:15 2010 +0000
@@ -103,6 +103,7 @@
sign = 0;
return duty;
} else
+ Motor::coast();
return -1;
}