summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2014-06-01 18:11:00 (GMT)
committerChristian Pointner <equinox@helsinki.at>2014-06-01 18:11:00 (GMT)
commit463de1da2390f5110cf65e70778aed5bd17d7b21 (patch)
tree3e3a8af17b8da913e7f13c8723a0ce37bff05196
parenta0ed05f4258971054287cac8e825f49a1bf51f80 (diff)
only turn on/off leds when command is received
-rw-r--r--software/rhmixxx/keypad.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/software/rhmixxx/keypad.c b/software/rhmixxx/keypad.c
index 30b8102..96bf7e2 100644
--- a/software/rhmixxx/keypad.c
+++ b/software/rhmixxx/keypad.c
@@ -143,10 +143,8 @@ void keypad_task(void)
if(current_state) {
eventqueue_push(key_idx, 0);
- keypad_led_off(key_idx);
} else {
eventqueue_push(key_idx, 1);
- keypad_led_on(key_idx);
}
}
}