mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 12:37:01 +03:00
more display refactoring, led bug correction
This commit is contained in:
@@ -164,7 +164,7 @@ void set_led_gpio(int gpio, char *value) {
|
||||
green.gpio = gpio;
|
||||
if ((p = strchr(value, ':')) != NULL) green.active = atoi(p + 1);
|
||||
} else if (strcasestr(value, "red")) {
|
||||
red.active = gpio;
|
||||
red.gpio = gpio;
|
||||
if ((p = strchr(value, ':')) != NULL) red.active = atoi(p + 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user