diff options
author | blindassassin111 <38090555+blindassassin111@users.noreply.github.com> | 2018-09-13 11:19:37 -0500 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-09-13 09:19:37 -0700 |
commit | 7ff4faf3be32675b8f57af81b22593df286a3bc9 (patch) | |
tree | 26e3d6f723079f3320562aac4a68aef6e258d037 /keyboards/omnikey_blackheart/keymaps | |
parent | b8a0d3de3dcd39558195a8a201e859a0d4ef924d (diff) | |
download | qmk_firmware-7ff4faf3be32675b8f57af81b22593df286a3bc9.tar.gz qmk_firmware-7ff4faf3be32675b8f57af81b22593df286a3bc9.zip |
Keyboard: Fixing Omnikey lock light issue (#3891)
Diffstat (limited to 'keyboards/omnikey_blackheart/keymaps')
-rw-r--r-- | keyboards/omnikey_blackheart/keymaps/default/keymap.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/keyboards/omnikey_blackheart/keymaps/default/keymap.c b/keyboards/omnikey_blackheart/keymaps/default/keymap.c index 3316218700..e4865adde3 100644 --- a/keyboards/omnikey_blackheart/keymaps/default/keymap.c +++ b/keyboards/omnikey_blackheart/keymaps/default/keymap.c @@ -1,9 +1,5 @@ #include QMK_KEYBOARD_H -// Fillers to make layering more clear -#define _______ KC_TRNS -#define XXXXXXX KC_NO - const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT(\ @@ -26,7 +22,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), }; -void led_set_kb(uint8_t usb_led) { +void led_set_user(uint8_t usb_led) { DDRB |= (1 << 4) | (1 << 5) | (1 << 6); if (usb_led & (1 << USB_LED_NUM_LOCK)) { @@ -46,4 +42,4 @@ void led_set_kb(uint8_t usb_led) { } else { PORTB &= ~(1 << 6); } -}
\ No newline at end of file +} |