From: tmk Date: Sun, 10 May 2020 03:07:17 +0000 (+0900) Subject: ibmpc_usb: Fix led_set X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=846f55389afc7d5c6b5f15c21a142b6b4944f187;p=max%2Ftmk_keyboard.git ibmpc_usb: Fix led_set --- diff --git a/converter/ibmpc_usb/ibmpc_usb.c b/converter/ibmpc_usb/ibmpc_usb.c index 007ab0ba..52fffc3d 100644 --- a/converter/ibmpc_usb/ibmpc_usb.c +++ b/converter/ibmpc_usb/ibmpc_usb.c @@ -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;