diff options
| author | Avi Levkovich <avi@twine-s.com> | 2018-07-12 09:46:30 +0300 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2018-07-12 09:46:30 +0300 |
| commit | 86b7dbca112046dea1d3dd7d2904440afc2acb7d (patch) | |
| tree | ea21b0a25869ade3cda4fc5705cb6e6fae622597 /Software/Embedded_SW/Embedded/Modules/Control/control.c | |
| parent | 46838f74850f7e26f942da41f240d402d199bebc (diff) | |
| download | Tango-86b7dbca112046dea1d3dd7d2904440afc2acb7d.tar.gz Tango-86b7dbca112046dea1d3dd7d2904440afc2acb7d.zip | |
Start Thermo_K+ blinking the activity led on heating
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control/control.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Control/control.c | 6 |
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; |
