tr60w.c 288 B

1234567891011
  1. #include "tr60w.h"
  2. bool led_update_kb(led_t led_state) {
  3. bool runDefault = led_update_user(led_state);
  4. if (runDefault) {
  5. writePin(B1, !led_state.num_lock);
  6. writePin(B2, !led_state.caps_lock);
  7. writePin(B3, !led_state.scroll_lock);
  8. }
  9. return runDefault;
  10. }