2015_robocon_bteam / Mbed 2 deprecated 2015robot_main

Dependencies:   PID QEI mbed

Fork of 2015robot_main by Naoto Deguchi

Revision:
79:7f86e18f40ef
Parent:
69:bf094811b4a9
Child:
84:919a335ac81e
diff -r abb760e0a935 -r 7f86e18f40ef communicate.h
--- a/communicate.h	Sat Oct 10 09:53:52 2015 +0000
+++ b/communicate.h	Sun Oct 11 07:34:51 2015 +0000
@@ -20,7 +20,7 @@
 
 inline void sendData(int address, unsigned int data8) {
     unsigned int data;
-    if (data8 <= 15 && data8 >= 0) {
+    if (data8 <= 15) {
         data = 128 | (address << 4) | (data8 & 15);
         RS485.putc(data);
     }