1
0

update keymap

This commit is contained in:
di0ib 2016-12-06 19:32:25 -10:00
parent f7ff3326e0
commit 7b5e3fbd25
2 changed files with 5 additions and 5 deletions

View File

@ -8,8 +8,8 @@ KEYMAP(
), ),
KEYMAP( KEYMAP(
TRNS, F2, F3, F4, TRNS, FN2, FN3, FN4,
F5, F6, F7, F8 FN5, FN6, FN7, FN8
), ),
}; };

View File

@ -24,13 +24,13 @@ void led_set(uint8_t usb_led)
{ {
if (usb_led & (1<<USB_LED_CAPS_LOCK)) { if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
// output low // output low
DDRB &= ~(1<<0); DDRB |= (1<<0);
PORTB &= ~(1<<0); PORTB &= ~(1<<0);
DDRD |= (1<<5); DDRD |= (1<<5);
PORTD &= ~(1<<5); PORTD &= ~(1<<5);
} else { } else {
// Hi-Z // Hi-Z
DDRB |= (1<<0); DDRB &= ~(1<<0);
PORTB &= ~(1<<0); PORTB &= ~(1<<0);
DDRD &= ~(1<<5); DDRD &= ~(1<<5);
PORTD &= ~(1<<5); PORTD &= ~(1<<5);