1
0
Fork 0

Align location of some host led logic (#15954)

* Align location of host led logic

* Move more

* align ifdefs

* Fix up includes

* Move callback defs

* Convert comment to build message
This commit is contained in:
Joel Challis 2022-01-22 21:17:02 +00:00 committed by GitHub
parent 448a90f6b0
commit 6e83b44940
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 58 additions and 46 deletions

View file

@ -49,6 +49,18 @@ void led_set(uint8_t usb_led);
void led_init_ports(void);
void led_suspend(void);
void led_wakeup(void);
void led_task(void);
/* Callbacks */
void led_set_user(uint8_t usb_led);
void led_set_kb(uint8_t usb_led);
bool led_update_user(led_t led_state);
bool led_update_kb(led_t led_state);
#ifdef __cplusplus
}
#endif