diff options
author | jpetermans <[email protected]> | 2017-05-08 14:35:08 -0700 |
---|---|---|
committer | jpetermans <[email protected]> | 2017-05-08 14:35:08 -0700 |
commit | 2c5b5519706e72022f83054d3e3249e3cd4bd1f3 (patch) | |
tree | 00f0bec8e05d44eeef61bcfff20a76b8abe69c2f /keyboards/infinity60/led.c | |
parent | 52f671c23eaeff9547e2a02154f0a056278b113c (diff) | |
download | qmk_firmware-2c5b5519706e72022f83054d3e3249e3cd4bd1f3.tar.gz qmk_firmware-2c5b5519706e72022f83054d3e3249e3cd4bd1f3.zip |
CLeaned out debug code
Diffstat (limited to 'keyboards/infinity60/led.c')
-rw-r--r-- | keyboards/infinity60/led.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/keyboards/infinity60/led.c b/keyboards/infinity60/led.c index 92069dc593..d60c76fd8c 100644 --- a/keyboards/infinity60/led.c +++ b/keyboards/infinity60/led.c @@ -29,26 +29,22 @@ void led_set(uint8_t usb_led) { msg_t msg; if (usb_led & (1<<USB_LED_NUM_LOCK)) { - // signal the LED control thread chSysUnconditionalLock(); msg=(TOGGLE_NUM_LOCK << 8) | 1; chMBPostI(&led_mailbox, msg); chSysUnconditionalUnlock(); } else { - // signal the LED control thread chSysUnconditionalLock(); msg=(TOGGLE_NUM_LOCK << 8) | 0; chMBPostI(&led_mailbox, msg); chSysUnconditionalUnlock(); } if (usb_led & (1<<USB_LED_CAPS_LOCK)) { - // signal the LED control thread chSysUnconditionalLock(); msg=(TOGGLE_CAPS_LOCK << 8) | 1; chMBPostI(&led_mailbox, msg); chSysUnconditionalUnlock(); } else { - // signal the LED control thread chSysUnconditionalLock(); msg=(TOGGLE_CAPS_LOCK << 8) | 0; chMBPostI(&led_mailbox, msg); |