Library to easily communicate with XBee modules.
Fork of XBeeLib by
Diff: IO/IOSample802.cpp
- Revision:
- 4:629712865107
- Parent:
- 3:8662ebe83570
diff -r 8662ebe83570 -r 629712865107 IO/IOSample802.cpp --- a/IO/IOSample802.cpp Mon May 18 13:16:55 2015 +0200 +++ b/IO/IOSample802.cpp Mon Jun 01 18:59:43 2015 +0200 @@ -96,8 +96,7 @@ { if (dio_channels_present()) { return UINT16(_sampled_data[0], _sampled_data[1]); - } - else { + } else { return 0; } }