git://git.gir.st
/
tmk_keyboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed irrelevant keymaps
[tmk_keyboard.git]
/
keyboard
/
tv44
/
led.c
diff --git
a/keyboard/tv44/led.c
b/keyboard/tv44/led.c
index 91f20030ee73a678d181541590c6597c458c00fc..62abcd79da979962d48f928feb5624098ef716db 100644
(file)
--- a/
keyboard/tv44/led.c
+++ b/
keyboard/tv44/led.c
@@
-32,14
+32,3
@@
void led_set(uint8_t usb_led)
PORTB &= ~(1<<2);
}
}
-
-void led_layer_set(uint32_t state) {
- DDRB |= (1<<2);
-
- /* Led for Layer 2 */
- if ((1<<4 & state) != 0) {
- PORTB |= (1<<2);
- } else {
- PORTB &= ~(1<<2);
- }
-}