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:
parent
7768447c2a
commit
d34bb01271
Binary file not shown.
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user