From 43371ce1967345cf7758823ef4e1da3d84599cc3 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 11 Jul 2022 15:54:47 +0200 Subject: [PATCH] Extract USE_I2S from not used USE_I2S_AUDIO gpios --- tasmota/include/tasmota_template.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/include/tasmota_template.h b/tasmota/include/tasmota_template.h index 8fe2cb640..f47ebace5 100644 --- a/tasmota/include/tasmota_template.h +++ b/tasmota/include/tasmota_template.h @@ -526,6 +526,8 @@ const uint16_t kGpioNiceList[] PROGMEM = { AGPIO(GPIO_I2S_WS) + MAX_I2S, // I2S word select AGPIO(GPIO_I2S_DIN) + MAX_I2S, // I2S IN Data AGPIO(GPIO_I2S_DOUT) + MAX_I2S, // I2S Out Data +#endif +#ifdef USE_I2S AGPIO(GPIO_I2S_BCLK_IN) + MAX_I2S, // I2S bit clock in AGPIO(GPIO_I2S_WS_IN) + MAX_I2S, // I2S word select in #endif