Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

src/ConfigurationHandler/Controls/SetpointControl.cpp

Committer:
jmarkel44
Date:
2016-09-01
Revision:
2:da28f21b72a1
Parent:
1:057d8fc6cb2f

File content as of revision 2:da28f21b72a1:

#include <stdio.h>
#include "ConfigurationHandler.h"
#include "rtos.h"
#include "global.h"


/*****************************************************************************
 * Function:             SetpointControl
 * Description:          entry point for a Setpoint control thread
 *
 * @param                (IN) args (user-defined arguments)
 * @return               none
 *****************************************************************************/
void SetpointControl(void const *args)
{
    Args_t  *info = (Args_t *)args;
    while (true ) {
#ifndef SUPPRESS_OUTPUT
        printf("\r%s running with controlFile %s\n", __func__, info->controlFile);
#endif
        Thread::wait(5000);
    }

}