Microduino

Dependencies:   mbed

Fork of BalanceCar by Li Weiyi

Revision:
2:99785a1007a4
Parent:
0:a4d8f5b3c546
diff -r 620da20b810b -r 99785a1007a4 Microduino_Protocol_HardSer.cpp
--- a/Microduino_Protocol_HardSer.cpp	Sat Jun 04 04:06:36 2016 +0000
+++ b/Microduino_Protocol_HardSer.cpp	Tue Jun 07 05:26:03 2016 +0000
@@ -21,10 +21,12 @@
   this->error = false;
   P_Serial = ser; // ...override P_Serial with value passed.
   } */
+#if 0
 static void uart_callback(void)
 {
     //myled = !myled;
 }
+#endif
 void Protocol::begin(uint16_t _baud)
 {
     //myled = 0;
@@ -111,4 +113,5 @@
     } else {
         return P_NONE;
     }
+    return P_NONE;
 }
\ No newline at end of file