]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Use led_set_kb instead of led_set_user in melody96.c
authorKonstantin Đorđević <vomindoraan@gmail.com>
Tue, 16 Jul 2019 15:48:24 +0000 (17:48 +0200)
committernoroadsleft <18669334+noroadsleft@users.noreply.github.com>
Tue, 16 Jul 2019 21:13:08 +0000 (14:13 -0700)
keyboards/melody96/melody96.c

index 2d313bc1e1e777364f3543309ed92d9055e1b599..2fe274ee471be8ad8660966f20d50b18dd3849df 100644 (file)
@@ -1,7 +1,6 @@
 #include "melody96.h"
 
-void led_set_user(uint8_t usb_led) {
-
+void led_set_kb(uint8_t usb_led) {
        if (usb_led & (1 << USB_LED_NUM_LOCK)) {
                DDRC |= (1 << 6); PORTC &= ~(1 << 6);
        } else {
@@ -19,4 +18,6 @@ void led_set_user(uint8_t usb_led) {
        } else {
                DDRB &= ~(1 << 5); PORTB &= ~(1 << 5);
        }
-}
\ No newline at end of file
+
+    led_set_user(usb_led);
+}