diff options
Diffstat (limited to 'keyboards/kprepublic/bm40hsrgb')
-rw-r--r-- | keyboards/kprepublic/bm40hsrgb/info.json | 2 | ||||
-rw-r--r-- | keyboards/kprepublic/bm40hsrgb/keymaps/signynt/keymap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/kprepublic/bm40hsrgb/info.json b/keyboards/kprepublic/bm40hsrgb/info.json index 4007cc7360..c0ba89dbab 100644 --- a/keyboards/kprepublic/bm40hsrgb/info.json +++ b/keyboards/kprepublic/bm40hsrgb/info.json @@ -12,7 +12,7 @@ "pin": "E2" }, "rgb_matrix": { - "driver": "WS2812" + "driver": "ws2812" }, "rgblight": { "max_brightness": 180 diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/signynt/keymap.c b/keyboards/kprepublic/bm40hsrgb/keymaps/signynt/keymap.c index 5a1d366f56..eb20a1a25b 100644 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/signynt/keymap.c +++ b/keyboards/kprepublic/bm40hsrgb/keymaps/signynt/keymap.c @@ -165,7 +165,7 @@ if(IS_LAYER_ON(NSSL)) { //capslock leds -if (host_keyboard_leds() & (1<<USB_LED_CAPS_LOCK)) { +if (host_keyboard_led_state().caps_lock) { rgb_matrix_set_color_all(50, 15.6, 0); } |