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/ControlTask/ControlTask.cpp
- Revision:
- 218:e0c05b4f470b
- Parent:
- 196:78397baf0802
- Child:
- 221:2a5e9902003c
diff -r d5a2ff093319 -r e0c05b4f470b src/ControlTask/ControlTask.cpp
--- a/src/ControlTask/ControlTask.cpp Tue Oct 11 12:24:28 2016 +0000
+++ b/src/ControlTask/ControlTask.cpp Tue Oct 11 18:34:28 2016 +0000
@@ -1,3 +1,10 @@
+/******************************************************************************
+ *
+ * File: ControlTask.cpp
+ * Desciption: source for the ICE Control task
+ *
+ *****************************************************************************/
+
#include "ControlTask.h"
#include <stdio.h>
#include "rtos.h"
@@ -5,10 +12,11 @@
#include "MTSLog.h"
#include "global.h"
+// control functions
static void serviceManualControls(void);
static void serviceTimerControls(void);
static void serviceSetpointControls(void);
-
+static void serviceCompositeControls(void);
/*****************************************************************************
* Function: ControlTask()
@@ -29,7 +37,7 @@
serviceSetpointControls();
- // TODO: service the composite controls
+ serviceCompositeControls();
Thread::wait(1000); // do we need to wait?
}
@@ -100,4 +108,16 @@
}
}
+}
+
+/*****************************************************************************
+ * Function: serviceCompositeControls()
+ * Description: service the composite controls
+ * controls
+ *
+ * @param none
+ * @return none
+ *****************************************************************************/
+static void serviceCompositeControls(void)
+{
}
\ No newline at end of file
