From 791167f794466ca34031e0863b6012704b5e9675 Mon Sep 17 00:00:00 2001 From: Philippe G Date: Mon, 24 May 2021 10:38:33 -0700 Subject: [PATCH] amp gpio polarity parse error - release --- components/squeezelite/output_i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/squeezelite/output_i2s.c b/components/squeezelite/output_i2s.c index 63768e38..b07b227e 100644 --- a/components/squeezelite/output_i2s.c +++ b/components/squeezelite/output_i2s.c @@ -169,7 +169,7 @@ static void jack_handler(bool inserted) { static void set_amp_gpio(int gpio, char *value) { char *p; - if (!strcasecmp(value, "amp")) { + if (strcasestr(value, "amp")) { amp_control.gpio = gpio; if ((p = strchr(value, ':')) != NULL) amp_control.active = atoi(p + 1);