Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
141:d924caf402c2
Parent:
136:6ad7ba157b70
Child:
153:0845c7bf236a
--- a/src/ConfigurationHandler/Controls/TimerControl.cpp	Tue Sep 27 18:47:41 2016 +0000
+++ b/src/ConfigurationHandler/Controls/TimerControl.cpp	Tue Sep 27 18:55:55 2016 +0000
@@ -249,18 +249,18 @@
 
     int counter = 0;
     if ( schedule.empty() ) {
-        printf("\rNo scheduled timers\r\n");
+        printf("\rNo scheduled timers\r\n\r\n");
         return;
     } else {
         for ( pos = schedule.begin(); pos != schedule.end(); ++pos ) {
             printf("\r Schedule %d\n", ++counter);
-            printf("\r         priority : %u \n", pos->priority);
-            printf("\r       start time : %lu\n", pos->startTime);
+            printf("\r         priority : %u \n",    pos->priority);
+            printf("\r       start time : %lu\n",    pos->startTime);
             printf("\r         duration : %u sec\n", pos->duration);
-            printf("\r         end time : %lu\n", pos->startTime + pos->duration);
-            printf("\r     current time : %lu\n", time(NULL));
+            printf("\r         end time : %lu\n",    pos->startTime + pos->duration);
+            printf("\r     current time : %lu\n",    time(NULL));
             printf("\r       expires in : %lu sec\n", (pos->startTime + pos->duration) - time(NULL));
         }
     }
-    printf("\r    current State : %s\n", mapper[currentState].c_str());
+    printf("\r    current State : %s\r\n", mapper[currentState].c_str());
 }
\ No newline at end of file