yd60mq.c 252 B

12345678910111213
  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. writePinLow(F4);
  9. }
  10. led_set_user(usb_led);
  11. }