1
0
mirror of https://github.com/whowechina/aic_pico.git synced 2025-02-17 19:09:24 +01:00

Fix incorrect light effect in bana i/o

This commit is contained in:
whowechina 2024-04-29 18:59:01 +08:00
parent 7768447c2a
commit d34bb01271
2 changed files with 1 additions and 2 deletions

Binary file not shown.

View File

@ -99,11 +99,10 @@ void report_usb_hid()
static void light_effect()
{
uint64_t now = time_us_64();
if (aime_is_active()) {
light_set_rainbow(false);
light_set_color_all(aime_led_color());
} else if (now < bana_is_active()) {
} else if (bana_is_active()) {
light_set_rainbow(false);
light_set_color_all(bana_led_color());
} else {