summaryrefslogtreecommitdiffstats
path: root/keyboards/infinity60/led.c
diff options
context:
space:
mode:
authorjpetermans <tibcmhhm@gmail.com>2017-04-11 02:36:47 +0200
committerjpetermans <tibcmhhm@gmail.com>2017-04-11 02:36:47 +0200
commitdda858c437e2fd0336f070ccb5d1f6e412815d9a (patch)
treefb94cde2ebfd5cef5b90520efc84aab94ec75f03 /keyboards/infinity60/led.c
parenta2ac8837790030b771744402aac8d8ab0e1967aa (diff)
downloadqmk_firmware-dda858c437e2fd0336f070ccb5d1f6e412815d9a.tar.gz
qmk_firmware-dda858c437e2fd0336f070ccb5d1f6e412815d9a.tar.xz
revised led controller code to allow for more options
unable to switch picture displays
Diffstat (limited to 'keyboards/infinity60/led.c')
-rw-r--r--keyboards/infinity60/led.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/infinity60/led.c b/keyboards/infinity60/led.c
index 815a529fc..d2f554549 100644
--- a/keyboards/infinity60/led.c
+++ b/keyboards/infinity60/led.c
@@ -42,12 +42,12 @@ void led_set(uint8_t usb_led) {
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
// signal the LED control thread
chSysUnconditionalLock();
- chMBPostI(&led_mailbox, LED_MSG_CAPS_ON);
+ chMBPostI(&led_mailbox, 0x59);
chSysUnconditionalUnlock();
} else {
// signal the LED control thread
chSysUnconditionalLock();
- chMBPostI(&led_mailbox, LED_MSG_CAPS_OFF);
+ chMBPostI(&led_mailbox, 0x59);
chSysUnconditionalUnlock();
}
}