fp

Dependencies:   libmDot-mbed5 ISL29011

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);