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.
Dependencies: libmDot-mbed5 ISL29011
Diff: examples/src/dot_util.cpp
- Revision:
- 24:d80afce304c6
- Parent:
- 21:09d05faf0e13
- Child:
- 25:56f7775c702f
--- 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");
}
}
+