summaryrefslogtreecommitdiffstats
path: root/app/ticker.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/ticker.c')
-rw-r--r--app/ticker.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/ticker.c b/app/ticker.c
index ea832c8..9133493 100644
--- a/app/ticker.c
+++ b/app/ticker.c
@@ -24,10 +24,13 @@ sys_tick_handler (void)
ticks++;
if (led) {
- gpio_clear (LED_BANK, LED_GPIO);
+ gpio_clear (LED1_BANK, LED1_GPIO);
+ gpio_clear (LED2_BANK, LED2_GPIO);
led--;
- } else
- gpio_set (LED_BANK, LED_GPIO);
+ } else {
+ gpio_set (LED1_BANK, LED1_GPIO);
+ gpio_set (LED2_BANK, LED2_GPIO);
+ }
}