aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control/control.c
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2019-04-15 17:23:26 +0300
committerAvi Levkovich <avi@twine-s.com>2019-04-15 17:23:26 +0300
commit58b58bc39201cd8702be1780d22e6340478feb43 (patch)
treed7277d9619bc217ed705558c0c69df209539a04f /Software/Embedded_SW/Embedded/Modules/Control/control.c
parent803738c15ddbaebd07e13ee59d493a7ef56b978f (diff)
downloadTango-58b58bc39201cd8702be1780d22e6340478feb43.tar.gz
Tango-58b58bc39201cd8702be1780d22e6340478feb43.zip
fix bug in ControlActivityLed
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control/control.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/control.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/control.c b/Software/Embedded_SW/Embedded/Modules/Control/control.c
index c94f0335f..b316fd73f 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/control.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/control.c
@@ -173,19 +173,19 @@ uint32_t ControlActivityLed( uint32_t Parameter1)
}
///////////////////////////////////////////////////////////
if(jog.color == fastBILNK)
- Pannel_Leds(POWER_ON_OFF,MODE_OFF);
+ Pannel_Leds(THREAD_JOGGING,MODE_OFF);
else
if((jog.color == BLINK) && (counter % Blink_Freq == 0) )
{
- Pannel_Leds(POWER_ON_OFF,MODE_OFF);
+ Pannel_Leds(THREAD_JOGGING,MODE_OFF);
}
///////////////////////////////////////////////////////////
if(load.color == fastBILNK)
- Pannel_Leds(POWER_ON_OFF,MODE_OFF);
+ Pannel_Leds(THREAD_LOAD,MODE_OFF);
else
if((load.color == BLINK) && (counter % Blink_Freq == 0) )
{
- Pannel_Leds(POWER_ON_OFF,MODE_OFF);
+ Pannel_Leds(THREAD_LOAD,MODE_OFF);
}
///////////////////////////////////////////////////////////
if(cart1.color == fastBILNK)
@@ -228,19 +228,19 @@ uint32_t ControlActivityLed( uint32_t Parameter1)
}
///////////////////////////////////////////////////////////
if(jog.color == fastBILNK)
- Pannel_Leds(POWER_ON_OFF,MODE_ON);
+ Pannel_Leds(THREAD_JOGGING,MODE_ON);
else
if((jog.color == BLINK) && (counter % Blink_Freq == 0) )
{
- Pannel_Leds(POWER_ON_OFF,MODE_ON);
+ Pannel_Leds(THREAD_JOGGING,MODE_ON);
}
///////////////////////////////////////////////////////////
if(load.color == fastBILNK)
- Pannel_Leds(POWER_ON_OFF,MODE_ON);
+ Pannel_Leds(THREAD_LOAD,MODE_ON);
else
if((load.color == BLINK) && (counter % Blink_Freq == 0) )
{
- Pannel_Leds(POWER_ON_OFF,MODE_ON);
+ Pannel_Leds(THREAD_LOAD,MODE_ON);
}
///////////////////////////////////////////////////////////
if(cart1.color == fastBILNK)