]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
core: Add default impl for led_set()
authortmk <hasu@tmk-kbd.com>
Sat, 30 May 2020 06:19:20 +0000 (15:19 +0900)
committertmk <hasu@tmk-kbd.com>
Sat, 30 May 2020 06:20:05 +0000 (15:20 +0900)
tmk_core/common/keyboard.c

index 2302acb7910ffda5c4d686c796ed09b459165919..0eb28418dbe13f2753bf1c244fe6a89750cb7658 100644 (file)
@@ -182,3 +182,6 @@ void keyboard_set_leds(uint8_t leds)
 {
     led_set(leds);
 }
+
+__attribute__ ((weak))
+void led_set(uint8_t usb_led) {}