diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-02-05 17:10:07 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-02-05 17:10:07 +0100 |
| commit | d19f5ce8b56e1199eb9e20ba83b38f8e3e915437 (patch) | |
| tree | 4314e72cf02d14dd86895e328a88fb7c86e09106 /src/led.h | |
| parent | b50765e6377eda0b6b4aa292379f8b01e48ae5c0 (diff) | |
| download | sxkbd-d19f5ce8b56e1199eb9e20ba83b38f8e3e915437.tar.gz sxkbd-d19f5ce8b56e1199eb9e20ba83b38f8e3e915437.zip | |
Make led blip asynchronous and add sync mechanism to split comms
Diffstat (limited to 'src/led.h')
| -rw-r--r-- | src/led.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -21,6 +21,11 @@ extern bool led_reset; extern uint32_t led_blink_ms; extern uint32_t led_rgb; +extern bool led_blip; +extern bool led_blip_reset; +extern uint32_t led_blip_ms; +extern uint32_t led_blip_rgb; + void led_init(void); void led_task(void); -void led_blip(uint32_t rgb); +void led_start_blip(uint32_t rgb, uint32_t ms); |
