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/peer_to_peer_example.cpp
- Revision:
- 12:ec9768677cea
- Parent:
- 11:d2e31743433a
- Child:
- 14:19fae4509473
diff -r d2e31743433a -r ec9768677cea examples/src/peer_to_peer_example.cpp
--- a/examples/src/peer_to_peer_example.cpp Tue Oct 11 11:49:56 2016 -0500
+++ b/examples/src/peer_to_peer_example.cpp Tue Oct 11 13:17:42 2016 -0500
@@ -111,6 +111,10 @@
dot = mDot::getInstance();
+ // start from a well-known state
+ logInfo("defaulting Dot configuration");
+ dot->resetConfig();
+
// make sure library logging is turned on
dot->setLogLevel(mts::MTSLog::INFO_LEVEL);