diff options
author | jpetermans <tibcmhhm@gmail.com> | 2017-04-10 17:36:47 -0700 |
---|---|---|
committer | jpetermans <tibcmhhm@gmail.com> | 2017-04-10 17:36:47 -0700 |
commit | dda858c437e2fd0336f070ccb5d1f6e412815d9a (patch) | |
tree | fb94cde2ebfd5cef5b90520efc84aab94ec75f03 /keyboards/infinity60/led.c | |
parent | a2ac8837790030b771744402aac8d8ab0e1967aa (diff) |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/infinity60/led.c b/keyboards/infinity60/led.c index 815a529fc8..d2f554549a 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(); } } |