Correcting Phantom mistakestags/v1.9
*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. | ||||
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 |