From: tmk Date: Sat, 30 May 2020 06:19:20 +0000 (+0900) Subject: core: Add default impl for led_set() X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=3208b7e447938e6d3db3175930aaa5962dee64db;p=max%2Ftmk_keyboard.git core: Add default impl for led_set() --- 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) {}