Fork to see if I can get working

Dependencies:   BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated

Fork of xDotBridge_update_test20180823 by Matt Briggs

Revision:
55:79ab0bbc5008
Parent:
54:c04d7b6fa075
Child:
57:bdac7dd17af2
--- a/xDotBridge/src/main.cpp	Wed Feb 22 15:39:40 2017 -0700
+++ b/xDotBridge/src/main.cpp	Mon Feb 27 08:06:36 2017 -0700
@@ -46,10 +46,11 @@
     dot = mDot::getInstance();
 
     logInfo("mbed-os library version: %d", MBED_LIBRARY_VERSION);
+    logInfo(" libxDot-mbed5 library ID: %s", dot->getId().c_str());
 
     // start from a well-known state
-    logInfo("defaulting Dot configuration");
-    dot->resetConfig();
+//    logInfo("defaulting Dot configuration");
+//    dot->resetConfig();
 
     // make sure library logging is turned on
     dot->setLogLevel(mts::MTSLog::INFO_LEVEL);
@@ -206,6 +207,8 @@
         intCnt++;
     }
 
+    delete protocol;
+    delete bbio;
     return 0;
 }
 #endif