1
0
Fork 0
This commit is contained in:
Xelus22 2019-09-05 13:41:01 +10:00 committed by fauxpark
parent 6d191635d0
commit 12812fa6a4
2 changed files with 14 additions and 15 deletions

View file

@ -62,7 +62,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
void keyboard_pre_init_user(void) {
// Call the keyboard pre init code.
@ -75,19 +74,19 @@ void keyboard_pre_init_user(void) {
void led_set_user(uint8_t usb_led) {
if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) {
writePinLow(D5);
} else {
writePinHigh(D5);
} else {
writePinLow(D5);
}
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
writePinLow(D3);
} else {
writePinHigh(D3);
} else {
writePinLow(D3);
}
if (IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK)) {
writePinLow(D2);
} else {
writePinHigh(D2);
} else {
writePinLow(D2);
}
}
@ -101,4 +100,4 @@ uint32_t layer_state_set_user(uint32_t state) {
break;
}
return state;
}
}