Sfoglia il codice sorgente

Merge pull request #44 from Wraul/phantom_fix

Correcting Phantom mistakes
led_matrix
tmk 11 anni fa
parent
commit
292dbd51cc
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 1
    0
      keyboard/phantom/README.md
  2. 1
    1
      keyboard/phantom/led.c

+ 1
- 0
keyboard/phantom/README.md Vedi File

*Note that only the ANSI keymap is tested on actual hardware.* *Note that only the ANSI keymap is tested on actual hardware.*


To customize a keymap: To customize a keymap:

1. Edit the file that corresponds to your layout. 1. Edit the file that corresponds to your layout.
2. Specify your layout when building. 2. Specify your layout when building.



+ 1
- 1
keyboard/phantom/led.c Vedi File

if (usb_led & (1<<USB_LED_SCROLL_LOCK)) if (usb_led & (1<<USB_LED_SCROLL_LOCK))
{ {
// Output high. // Output high.
DDRB &= ~(1<<7);
DDRB |= (1<<7);
PORTB |= (1<<7); PORTB |= (1<<7);
} }
else else