From a08ae9e31873a094a5e7d47ae8cfd2edfe6a60a4 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Sat, 28 Jan 2023 23:35:59 +0100 Subject: Add led blips for warnings and on startup --- src/hid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hid.c') diff --git a/src/hid.c b/src/hid.c index 32b5844..35287db 100644 --- a/src/hid.c +++ b/src/hid.c @@ -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; -- cgit v1.2.3-71-gd317