aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-07-12 09:47:34 +0300
committerShlomo Hecht <shlomo@twine-s.com>2018-07-12 09:47:34 +0300
commitf314379a276dea7647facd322674944cc69e5230 (patch)
treedb90b46e467ab58ab9554f84bc62a3386b5f8dc0 /Software/Embedded_SW/Embedded/Modules/Control
parent850e4a8273ac2ad0f1f300dcc149807b3b303517 (diff)
parentdec3cd03aec51dca67150e2f6ba76c7eda7f11a4 (diff)
downloadTango-f314379a276dea7647facd322674944cc69e5230.tar.gz
Tango-f314379a276dea7647facd322674944cc69e5230.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/control.c b/Software/Embedded_SW/Embedded/Modules/Control/control.c
index 379a7bb48..35a139905 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/control.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/control.c
@@ -157,14 +157,14 @@ uint32_t ControlActivityLed( uint32_t Parameter1, uint32_t Parameter2)
if (flag==true)
{
COMM_RED_LED_ON;
- STATUS_GREEN_LED_ON;// Blink the green led on heating
+ ACTIVITY_RED_LED_OFF; // Heaters indication - all the Heaters OFF
flag = false;
}
else
{
COMM_RED_LED_OFF;
- if (HeaterActive == true)// Blink the green led on heating
- STATUS_GREEN_LED_OFF;
+ if (HeaterActive > 0)// Blink the led on heating
+ ACTIVITY_RED_LED_ON;// Heaters indication - at least one of the Heaters is ON
flag = true;
}
return OK;