aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/melody96/melody96.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/melody96/melody96.c b/keyboards/melody96/melody96.c
index 2d313bc1e..2fe274ee4 100644
--- a/keyboards/melody96/melody96.c
+++ b/keyboards/melody96/melody96.c
@@ -1,7 +1,6 @@
1#include "melody96.h" 1#include "melody96.h"
2 2
3void led_set_user(uint8_t usb_led) { 3void led_set_kb(uint8_t usb_led) {
4
5 if (usb_led & (1 << USB_LED_NUM_LOCK)) { 4 if (usb_led & (1 << USB_LED_NUM_LOCK)) {
6 DDRC |= (1 << 6); PORTC &= ~(1 << 6); 5 DDRC |= (1 << 6); PORTC &= ~(1 << 6);
7 } else { 6 } else {
@@ -19,4 +18,6 @@ void led_set_user(uint8_t usb_led) {
19 } else { 18 } else {
20 DDRB &= ~(1 << 5); PORTB &= ~(1 << 5); 19 DDRB &= ~(1 << 5); PORTB &= ~(1 << 5);
21 } 20 }
22} \ No newline at end of file 21
22 led_set_user(usb_led);
23}