aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control/control.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-04-16 00:04:47 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-04-16 00:04:47 +0300
commit9d9aa53284fd93fc8590d2ff85741c7f4a95947b (patch)
treef097d7897fbf140af149a137c3a64935dd2b6768 /Software/Embedded_SW/Embedded/Modules/Control/control.c
parent80c89babe4608fc702c67d6253c233c970a93f94 (diff)
parent1d938d478ebdf99025ed7719ea09c870523e8387 (diff)
downloadTango-9d9aa53284fd93fc8590d2ff85741c7f4a95947b.tar.gz
Tango-9d9aa53284fd93fc8590d2ff85741c7f4a95947b.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
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)