mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 04:27:12 +03:00
refactor DAC handling
This commit is contained in:
@@ -168,7 +168,7 @@ int led_allocate(void) {
|
||||
*/
|
||||
bool led_config(int idx, gpio_num_t gpio, int onstate, int pwm) {
|
||||
if (gpio < 0) {
|
||||
ESP_LOGW(TAG,"LED GPIO not configured");
|
||||
ESP_LOGW(TAG,"LED GPIO -1 ignored");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user