Ver código fonte

Merge pull request #44 from Wraul/phantom_fix

Correcting Phantom mistakes
tags/v1.9
tmk 11 anos atrás
pai
commit
292dbd51cc
2 arquivos alterados com 2 adições e 1 exclusões
  1. 1
    0
      keyboard/phantom/README.md
  2. 1
    1
      keyboard/phantom/led.c

+ 1
- 0
keyboard/phantom/README.md Ver arquivo

*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 Ver arquivo

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

Carregando…
Cancelar
Salvar