From 86b7dbca112046dea1d3dd7d2904440afc2acb7d Mon Sep 17 00:00:00 2001 From: Avi Levkovich Date: Thu, 12 Jul 2018 09:46:30 +0300 Subject: Start Thermo_K+ blinking the activity led on heating --- Software/Embedded_SW/Embedded/Modules/Control/control.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Software/Embedded_SW/Embedded/Modules/Control/control.c') 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; -- cgit v1.3.1