diff options
| author | Joel Challis <git@zvecr.com> | 2022-01-22 21:17:02 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-22 21:17:02 +0000 |
| commit | 6e83b449409f7fe479210a9fab808e8bcae64977 (patch) | |
| tree | 0429c5a810d39fbd423350566d476fa3f798db27 /quantum/led.h | |
| parent | 448a90f6b0b68ef074b1a19a081eceaafcc7425e (diff) | |
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
Diffstat (limited to 'quantum/led.h')
| -rw-r--r-- | quantum/led.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/quantum/led.h b/quantum/led.h index 0fe38ea035..934d25312c 100644 --- a/quantum/led.h +++ b/quantum/led.h | |||
| @@ -49,6 +49,18 @@ void led_set(uint8_t usb_led); | |||
| 49 | 49 | ||
| 50 | void led_init_ports(void); | 50 | void led_init_ports(void); |
| 51 | 51 | ||
| 52 | void led_suspend(void); | ||
| 53 | |||
| 54 | void led_wakeup(void); | ||
| 55 | |||
| 56 | void led_task(void); | ||
| 57 | |||
| 58 | /* Callbacks */ | ||
| 59 | void led_set_user(uint8_t usb_led); | ||
| 60 | void led_set_kb(uint8_t usb_led); | ||
| 61 | bool led_update_user(led_t led_state); | ||
| 62 | bool led_update_kb(led_t led_state); | ||
| 63 | |||
| 52 | #ifdef __cplusplus | 64 | #ifdef __cplusplus |
| 53 | } | 65 | } |
| 54 | #endif | 66 | #endif |
