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.
Fork of 2015robot_main by
Diff: communicate.h
- 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); }