Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Committer:
jmarkel44
Date:
Thu Sep 01 20:32:42 2016 +0000
Revision:
2:da28f21b72a1
Parent:
1:057d8fc6cb2f
thread updates;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jmarkel44 0:65cfa4873284 1 #include <stdio.h>
jmarkel44 1:057d8fc6cb2f 2 #include "ConfigurationHandler.h"
jmarkel44 1:057d8fc6cb2f 3 #include "rtos.h"
jmarkel44 2:da28f21b72a1 4 #include "global.h"
jmarkel44 2:da28f21b72a1 5
jmarkel44 0:65cfa4873284 6
jmarkel44 0:65cfa4873284 7 /*****************************************************************************
jmarkel44 0:65cfa4873284 8 * Function: SetpointControl
jmarkel44 0:65cfa4873284 9 * Description: entry point for a Setpoint control thread
jmarkel44 0:65cfa4873284 10 *
jmarkel44 0:65cfa4873284 11 * @param (IN) args (user-defined arguments)
jmarkel44 0:65cfa4873284 12 * @return none
jmarkel44 0:65cfa4873284 13 *****************************************************************************/
jmarkel44 0:65cfa4873284 14 void SetpointControl(void const *args)
jmarkel44 0:65cfa4873284 15 {
jmarkel44 1:057d8fc6cb2f 16 Args_t *info = (Args_t *)args;
jmarkel44 0:65cfa4873284 17 while (true ) {
jmarkel44 2:da28f21b72a1 18 #ifndef SUPPRESS_OUTPUT
jmarkel44 1:057d8fc6cb2f 19 printf("\r%s running with controlFile %s\n", __func__, info->controlFile);
jmarkel44 2:da28f21b72a1 20 #endif
jmarkel44 1:057d8fc6cb2f 21 Thread::wait(5000);
jmarkel44 0:65cfa4873284 22 }
jmarkel44 2:da28f21b72a1 23
jmarkel44 0:65cfa4873284 24 }