]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/infinity60/led.c
add ability to toggle individual led by address
[qmk_firmware.git] / keyboards / infinity60 / led.c
index e17a5dd0d30bca1ed6dab7fc1568202192683fec..815a529fc813f94f0e1fc16c509c522c08107040 100644 (file)
@@ -36,6 +36,9 @@ void led_set(uint8_t usb_led) {
         GPIOA->PCOR |= (1<<5);
     }
  */
+//TODO: How does this test if led is set
+//usb_led --> led_set(usb_led) <-- chibios/host_keyboard_leds <-- keyboard_leds from usbSetupTransfer
+//keyboard_leds is enum'd in chibios/main.c
     if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
         // signal the LED control thread
         chSysUnconditionalLock();