]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
ibmpc_usb: Fix led_set
authortmk <hasu@tmk-kbd.com>
Sun, 10 May 2020 03:07:17 +0000 (12:07 +0900)
committertmk <hasu@tmk-kbd.com>
Mon, 11 May 2020 07:12:36 +0000 (16:12 +0900)
converter/ibmpc_usb/ibmpc_usb.c

index 007ab0badbb58bd3168308395b27c449eadefbf4..52fffc3d245acb1714db9633a6466e1c5aa3a2e7 100644 (file)
@@ -367,6 +367,7 @@ void matrix_clear(void)
 
 void led_set(uint8_t usb_led)
 {
+    if (keyboard_kind == NONE) return;
     //if (keyboard_kind != PC_AT) return;
 
     uint8_t ibmpc_led = 0;