update keymap
This commit is contained in:
parent
f7ff3326e0
commit
7b5e3fbd25
@ -8,8 +8,8 @@ KEYMAP(
|
||||
),
|
||||
|
||||
KEYMAP(
|
||||
TRNS, F2, F3, F4,
|
||||
F5, F6, F7, F8
|
||||
TRNS, FN2, FN3, FN4,
|
||||
FN5, FN6, FN7, FN8
|
||||
),
|
||||
};
|
||||
|
||||
|
@ -24,13 +24,13 @@ 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);
|
||||
|
Loading…
Reference in New Issue
Block a user