mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 13:37:03 +03:00
wait to switch external AMP GPIO even when stopping (pause = stop for stream)
This commit is contained in:
@@ -89,7 +89,7 @@ bool spkfault_svc (void) {
|
||||
*/
|
||||
void set_jack_gpio(int gpio, char *value) {
|
||||
if (!strcasecmp(value, "jack")) {
|
||||
ESP_LOGI(TAG,"Adding jack detection gpio %d", gpio);
|
||||
ESP_LOGI(TAG,"Adding jack detection GPIO %d", gpio);
|
||||
|
||||
gpio_pad_select_gpio(JACK_GPIO);
|
||||
gpio_set_direction(JACK_GPIO, GPIO_MODE_INPUT);
|
||||
|
||||
Reference in New Issue
Block a user