qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

commit 7ff4faf3be32675b8f57af81b22593df286a3bc9
parent b8a0d3de3dcd39558195a8a201e859a0d4ef924d
Author: blindassassin111 <38090555+blindassassin111@users.noreply.github.com>
Date:   Thu, 13 Sep 2018 11:19:37 -0500

Keyboard: Fixing Omnikey lock light issue (#3891)


Diffstat:
keyboards/omnikey_blackheart/keymaps/default/keymap.c | 9++-------
1 file changed, 2 insertions(+), 7 deletions(-)

diff --git 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 +}