Pārlūkot izejas kodu

Merge pull request #44 from Wraul/phantom_fix

Correcting Phantom mistakes
tmk 12 gadi atpakaļ
vecāks
revīzija
292dbd51cc
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 1 0
      keyboard/phantom/README.md
  2. 1 1
      keyboard/phantom/led.c

+ 1 - 0
keyboard/phantom/README.md

@@ -48,6 +48,7 @@ Each layout have their own keymap file.
 *Note that only the ANSI keymap is tested on actual hardware.*
 
 To customize a keymap:
+
 1. Edit the file that corresponds to your layout.
 2. Specify your layout when building.
 

+ 1 - 1
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