
FF1705 support added
Dependencies: libxDot-dev-mbed5-deprecated ISL29011
Fork of Dot-Examples by
Dot-Examples rev. 31:7ec180e84cb6 have been tested with xdot-library 3.0.0-19-gb6c0ba2 and mbed-os-5.6.2
Revision 24:d80afce304c6, committed 2017-07-11
- Comitter:
- Mike Fiore
- Date:
- Tue Jul 11 10:46:17 2017 -0500
- Parent:
- 23:4c494ddeb4fd
- Child:
- 25:c30633bcf302
- Commit message:
- change ret in send_data() to signed
Changed in this revision
examples/src/dot_util.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/examples/src/dot_util.cpp Fri Jun 30 15:28:36 2017 -0500 +++ b/examples/src/dot_util.cpp Tue Jul 11 10:46:17 2017 -0500 @@ -702,7 +702,7 @@ } void send_data(std::vector<uint8_t> data) { - uint32_t ret; + int32_t ret; ret = dot->send(data); if (ret != mDot::MDOT_OK) { @@ -711,3 +711,4 @@ logInfo("successfully sent data to %s", dot->getJoinMode() == mDot::PEER_TO_PEER ? "peer" : "gateway"); } } +