summaryrefslogtreecommitdiffstats
path: root/stm32/app/ticker.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm32/app/ticker.c')
-rw-r--r--stm32/app/ticker.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/stm32/app/ticker.c b/stm32/app/ticker.c
index f124307..f89d855 100644
--- a/stm32/app/ticker.c
+++ b/stm32/app/ticker.c
@@ -4,7 +4,6 @@
volatile uint32_t ticks;
static uint32_t scale = 7;
-unsigned led2 = 1000;
@@ -25,14 +24,7 @@ sys_tick_handler (void)
hands_tick();
motor_tick();
- if (led2)
- led2--;
-
- if (led2)
- CLEAR (LED2);
-
- else
- SET (LED2);
+ led_tick();
}
void