From 1f2cd742046b7e252828b8846486c7cd35b0554a Mon Sep 17 00:00:00 2001 From: pablozg Date: Sun, 24 Nov 2019 02:27:04 +0100 Subject: [PATCH] Hide CSE7766 GPIO's if not defined --- tasmota/tasmota_template.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/tasmota_template.h b/tasmota/tasmota_template.h index 3f59c2dae..5556629f9 100644 --- a/tasmota/tasmota_template.h +++ b/tasmota/tasmota_template.h @@ -628,8 +628,10 @@ const uint8_t kGpioNiceList[] PROGMEM = { #if defined(USE_I2C) && defined(USE_ADE7953) GPIO_ADE7953_IRQ, // ADE7953 IRQ #endif +#ifdef USE_CSE7766 GPIO_CSE7766_TX, // CSE7766 Serial interface (S31 and Pow R2) GPIO_CSE7766_RX, // CSE7766 Serial interface (S31 and Pow R2) +#endif #ifdef USE_MCP39F501 GPIO_MCP39F5_TX, // MCP39F501 Serial interface (Shelly2) GPIO_MCP39F5_RX, // MCP39F501 Serial interface (Shelly2)