]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/infinity60/led.c
CLeaned out debug code
[qmk_firmware.git] / keyboards / infinity60 / led.c
index 92069dc593898efc69be9c394f3c243b64bed0c9..d60c76fd8cde840b42df366f30b250a49b361b91 100644 (file)
@@ -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);