Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: src/ConfigurationHandler/Controls/SetpointControl.cpp
- Revision:
- 1:057d8fc6cb2f
- Parent:
- 0:65cfa4873284
- Child:
- 2:da28f21b72a1
--- 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