yd60mq.c 227 B

123456789101112
  1. #include "yd60mq.h"
  2. void led_set_kb(uint8_t usb_led) {
  3. if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
  4. setPinOutput(F4);
  5. writePinLow(F4);
  6. } else {
  7. setPinInput(F4);
  8. }
  9. led_set_user(usb_led);
  10. }