]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
Fix Phantom scroll lock LED.
authorWraul <wraul@dbox.se>
Sun, 30 Jun 2013 08:16:26 +0000 (10:16 +0200)
committerWraul <wraul@dbox.se>
Sun, 7 Jul 2013 16:48:25 +0000 (18:48 +0200)
keyboard/phantom/led.c

index f4e9108f062457965a04771cb3971a166f2adb8f..41582b6aafa365a3a7449e959222177c7b00ed74 100644 (file)
@@ -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