From 3208b7e447938e6d3db3175930aaa5962dee64db Mon Sep 17 00:00:00 2001 From: tmk Date: Sat, 30 May 2020 15:19:20 +0900 Subject: [PATCH] core: Add default impl for led_set() --- tmk_core/common/keyboard.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c index 2302acb7..0eb28418 100644 --- a/tmk_core/common/keyboard.c +++ b/tmk_core/common/keyboard.c @@ -182,3 +182,6 @@ void keyboard_set_leds(uint8_t leds) { led_set(leds); } + +__attribute__ ((weak)) +void led_set(uint8_t usb_led) {} -- 2.46.2