From 846f55389afc7d5c6b5f15c21a142b6b4944f187 Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 10 May 2020 12:07:17 +0900 Subject: [PATCH] ibmpc_usb: Fix led_set --- converter/ibmpc_usb/ibmpc_usb.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.46.2