diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-01-28 23:35:59 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-01-28 23:35:59 +0100 |
| commit | a08ae9e31873a094a5e7d47ae8cfd2edfe6a60a4 (patch) | |
| tree | 9c9075631e97c21e255c3f964072fc2da412440b /src/hid.c | |
| parent | c70a527d0418b4f32437873f682680f451fa4fb8 (diff) | |
| download | sxkbd-a08ae9e31873a094a5e7d47ae8cfd2edfe6a60a4.tar.gz sxkbd-a08ae9e31873a094a5e7d47ae8cfd2edfe6a60a4.zip | |
Add led blips for warnings and on startup
Diffstat (limited to 'src/hid.c')
| -rw-r--r-- | src/hid.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -515,9 +515,9 @@ void tud_hid_set_protocol_cb(uint8_t instance, uint8_t protocol) { if (protocol == HID_PROTOCOL_BOOT) { - led_rgb = WS2812_U32RGB(100, 100, 0); + led_rgb = SOFT_YELLOW; } else { - led_rgb = WS2812_U32RGB(100, 0, 100); + led_rgb = SOFT_PURPLE; } led_mode = LED_ON; led_reset = true; |
