From cc1fffe7c4a329b79651991b1f2cdd016f5e1144 Mon Sep 17 00:00:00 2001 From: Yury Sannikov Date: Thu, 7 May 2020 12:43:47 +0300 Subject: [PATCH] fix ESP32 build --- tasmota/tasmota_template_ESP32.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tasmota/tasmota_template_ESP32.h b/tasmota/tasmota_template_ESP32.h index 4aaa39ae3..874a77b78 100644 --- a/tasmota/tasmota_template_ESP32.h +++ b/tasmota/tasmota_template_ESP32.h @@ -125,6 +125,8 @@ enum UserSelectablePins { GPIO_WEBCAM_PSCLK, GPIO_WEBCAM_HSD, GPIO_WEBCAM_PSRCS, + GPIO_BOILER_OT_RX, // OpenTherm Boiler RX pin + GPIO_BOILER_OT_TX, // OpenTherm Boiler TX pin GPIO_SENSOR_END }; enum ProgramSelectablePins { @@ -211,7 +213,8 @@ const char kSensorNames[] PROGMEM = D_GPIO_WEBCAM_VSYNC "|" D_GPIO_WEBCAM_HREF "|" D_GPIO_WEBCAM_PCLK "|" D_GPIO_WEBCAM_PSCLK "|" D_GPIO_WEBCAM_HSD "|" - D_GPIO_WEBCAM_PSRCS + D_GPIO_WEBCAM_PSRCS "|" + D_SENSOR_BOILER_OT_RX "|" D_SENSOR_BOILER_OT_TX ; const char kSensorNamesFixed[] PROGMEM = @@ -548,6 +551,10 @@ const uint16_t kGpioNiceList[] PROGMEM = { AGPIO(GPIO_WEBCAM_PSRCS), #endif +#ifdef USE_OPENTHERM + AGPIO(GPIO_BOILER_OT_RX), + AGPIO(GPIO_BOILER_OT_TX), +#endif }; //********************************************************************************************