diff options
author | Xelus22 <lovlots@hotmail.com> | 2019-09-05 13:41:01 +1000 |
---|---|---|
committer | fauxpark <fauxpark@gmail.com> | 2019-09-05 13:41:01 +1000 |
commit | 12812fa6a41ed93e243244432e8be83c201f84dd (patch) | |
tree | 6e8dc6a4ba29f463ca585daf5da5cc75cbab8383 /keyboards/aeboards/ext65/keymaps/default/keymap.c | |
parent | 6d191635d08f8d1b4be12786c2e0158bd6674f28 (diff) |
led fix (#6672)
Diffstat (limited to 'keyboards/aeboards/ext65/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/aeboards/ext65/keymaps/default/keymap.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/aeboards/ext65/keymaps/default/keymap.c b/keyboards/aeboards/ext65/keymaps/default/keymap.c index 79d5ecf505..efa11cd0fd 100644 --- a/keyboards/aeboards/ext65/keymaps/default/keymap.c +++ b/keyboards/aeboards/ext65/keymaps/default/keymap.c @@ -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; -}
\ No newline at end of file +} |