Example for a Magnevation Board used previously on a OOPICII

Fork of Motordriver by Christopher Hasler

Files at this revision

API Documentation at this revision

Comitter:
littlexc
Date:
Fri Nov 19 12:33:38 2010 +0000
Parent:
2:2dc873322032
Child:
4:5fb1296c0d60
Commit message:

Changed in this revision

motordriver.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/motordriver.cpp	Fri Nov 19 12:32:06 2010 +0000
+++ b/motordriver.cpp	Fri Nov 19 12:33:38 2010 +0000
@@ -103,7 +103,7 @@
         sign = 0;
         return duty;
     } else
-        return 0;
+        return -1;
 }
 
 /*