You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
242 B

  1. #include "kc60.h"
  2. bool led_update_kb(led_t led_state) {
  3. if (led_update_user(led_state)) {
  4. if (led_state.caps_lock) {
  5. setPinOutput(B2);
  6. } else {
  7. setPinInput(B2);
  8. }
  9. }
  10. return true;
  11. }