summaryrefslogtreecommitdiffstats
path: root/keyboard/phantom/led.c
diff options
context:
space:
mode:
authorWraul <wraul@dbox.se>2013-06-30 10:16:26 +0200
committerWraul <wraul@dbox.se>2013-07-07 18:48:25 +0200
commita21359a09844a2f6e8d25070d3376a6e2c8ac81a (patch)
treee8b9640975799e284a4c38535c1a037865d7df39 /keyboard/phantom/led.c
parent8848d0188fe17c184fa968ac011b855a836f2df1 (diff)
Fix Phantom scroll lock LED.
Diffstat (limited to 'keyboard/phantom/led.c')
-rw-r--r--keyboard/phantom/led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/phantom/led.c b/keyboard/phantom/led.c
index f4e9108f06..41582b6aaf 100644
--- a/keyboard/phantom/led.c
+++ b/keyboard/phantom/led.c
@@ -37,7 +37,7 @@ void led_set(uint8_t usb_led)
if (usb_led & (1<<USB_LED_SCROLL_LOCK))
{
// Output high.
- DDRB &= ~(1<<7);
+ DDRB |= (1<<7);
PORTB |= (1<<7);
}
else