edge / Mbed 2 deprecated testReedSimple

Dependencies:   libmDot mbed-rtos mbed

Revision:
1:e504b1f72d05
Parent:
0:fc05a249a095
Child:
2:a2371a150758
--- a/main.cpp	Thu May 19 08:53:17 2016 +0000
+++ b/main.cpp	Thu May 19 11:54:18 2016 +0000
@@ -24,8 +24,7 @@
     
     pc.printf("Build: " __DATE__ ", " __TIME__"\r\n");
     
-    mDot* dot;
-    dot = mDot::getInstance();
+    mDot* dot = mDot::getInstance();
     dot->setLogLevel(MTSLog::TRACE_LEVEL);