m3pi library

Dependents:   3pi_robot Robot_Love

Fork of m3pi by Chris Styles

Files at this revision

API Documentation at this revision

Comitter:
wqz9822
Date:
Thu Oct 15 16:48:31 2015 +0000
Parent:
8:4b7d6ea9b35b
Commit message:
Interrupt change LED

Changed in this revision

m3pi.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 4b7d6ea9b35b -r f1e6f60b2fdf m3pi.cpp
--- a/m3pi.cpp	Thu May 12 13:26:37 2011 +0000
+++ b/m3pi.cpp	Thu Oct 15 16:48:31 2015 +0000
@@ -200,7 +200,8 @@
 
 #ifdef MBED_RPC
 const rpc_method *m3pi::get_rpc_methods() {
-    static const rpc_method rpc_methods[] = {{ "forward", rpc_method_caller<m3pi, float, &m3pi::forward> },
+    static const rpc_method rpc_methods[] = {
+        { "forward", rpc_method_caller<m3pi, float, &m3pi::forward> },
         { "backward", rpc_method_caller<m3pi, float, &m3pi::backward> },
         { "left", rpc_method_caller<m3pi, float, &m3pi::left> },
         { "right", rpc_method_caller<m3pi, float, &m3pi::right> },