aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control/control.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-08-13 19:27:10 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-08-13 19:27:10 +0300
commitabc2f5fc8f757eddeccdd10646039c96b58e522d (patch)
treec759454707c338f08e602800fb5f4a429d46f4fd /Software/Embedded_SW/Embedded/Modules/Control/control.c
parent7a914abc9e34c12acec0234ab748e17a21833af7 (diff)
downloadTango-abc2f5fc8f757eddeccdd10646039c96b58e522d.tar.gz
Tango-abc2f5fc8f757eddeccdd10646039c96b58e522d.zip
Version 1.4.3.7 Power off sequence with flushing and cleaning job. VOC alarms, safety, auto filling dispensers
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control/control.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/control.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/control.c b/Software/Embedded_SW/Embedded/Modules/Control/control.c
index f1e19d851..a88f67d5e 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/control.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/control.c
@@ -479,6 +479,14 @@ uint32_t GetControlLowDevice_i(void)
{
return ControlLowDevice_i;
}
+ControlCBFunction GetControlCallbackFuncPtr(uint32_t ControlId)
+{
+ if (ControlArray[ControlId].ControlActive)
+ return ControlArray[ControlId].ControlCallbackPtr;
+ else
+ return NULL;
+
+}
uint32_t ControlLoop(uint32_t tick)
{
if (MaxHighDevices == 0xFF)