Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
242:3b0086a6d625
Parent:
240:34e560c86cff
Child:
246:ca91a441b4dc
Child:
250:1cd8ec63e9e9
diff -r 1308c7b3daad -r 3b0086a6d625 src/CommandParser/cmd.cpp
--- a/src/CommandParser/cmd.cpp	Thu Oct 20 14:13:31 2016 +0000
+++ b/src/CommandParser/cmd.cpp	Thu Oct 20 15:30:21 2016 +0000
@@ -605,7 +605,7 @@
     char buf[MAX_FILE_SIZE];
     bool status;
 
-    std::string filename = "control_fs_rly01.json";    
+    std::string filename = "control_fs_rly01.json";
     snprintf(buf, sizeof(buf),
              "{"
              "\"id\":    \"o_rly01\", "
@@ -619,7 +619,7 @@
         printf("\rFailed to create %s\n", filename.c_str());
         return;
     }
-    
+
     filename = "control_fs_rly02.json";
     snprintf(buf, sizeof(buf),
              "{"
@@ -634,8 +634,8 @@
         printf("\rFailed to create %s\n", filename.c_str());
         return;
     }
-    
-    
+
+
 
 }
 
@@ -1984,6 +1984,8 @@
         printf("\r...generated %s\n", filename.c_str());
     }
 
+    Thread::wait(1000);
+
     // FLOW
     filename = "control_comp_flow.json";
     snprintf(buf, sizeof(buf),
@@ -2013,6 +2015,8 @@
         printf("\r...generated %s\n", filename.c_str());
     }
 
+    Thread::wait(1000);
+
     // LOCKOUT
     filename = "control_comp_lockout.json";
     snprintf(buf, sizeof(buf),