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(
TRNS, F2, F3, F4,
F5, F6, F7, F8
TRNS, FN2, FN3, FN4,
FN5, FN6, FN7, FN8
),
};

View File

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