Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
1:057d8fc6cb2f
Parent:
0:65cfa4873284
Child:
2:da28f21b72a1
diff -r 65cfa4873284 -r 057d8fc6cb2f src/ConfigurationHandler/Controls/SetpointControl.cpp
--- a/src/ConfigurationHandler/Controls/SetpointControl.cpp	Thu Sep 01 18:57:04 2016 +0000
+++ b/src/ConfigurationHandler/Controls/SetpointControl.cpp	Thu Sep 01 19:42:11 2016 +0000
@@ -1,4 +1,6 @@
 #include <stdio.h>
+#include "ConfigurationHandler.h"
+#include "rtos.h"
 
 /*****************************************************************************
  * Function:             SetpointControl
@@ -9,8 +11,9 @@
  *****************************************************************************/
 void SetpointControl(void const *args)
 {
-    printf("\r%s created\n", __func__);
-
+    Args_t  *info = (Args_t *)args;
     while (true ) {
+        printf("\r%s running with controlFile %s\n", __func__, info->controlFile);
+        Thread::wait(5000);
     }
 }
\ No newline at end of file