From d4f3bc732bd71705670cef2e613a4b76f4825b8f Mon Sep 17 00:00:00 2001 From: md5sum-as Date: Sat, 15 Oct 2022 18:57:29 +0300 Subject: [PATCH] ESP32 don't support dual pin mode --- tasmota/include/tasmota_template.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasmota/include/tasmota_template.h b/tasmota/include/tasmota_template.h index 13b4ce85b..35d928b31 100644 --- a/tasmota/include/tasmota_template.h +++ b/tasmota/include/tasmota_template.h @@ -663,10 +663,14 @@ const uint16_t kGpioNiceList[] PROGMEM = { #ifdef USE_DS18x20 #ifdef DS18x20_MULTI_GPIOs AGPIO(GPIO_DSB) + MAX_DSB, // Single wire DS18B20 or DS18S20 +#ifdef ESP8266 // ESP32 don't support dual pin mode AGPIO(GPIO_DSB_OUT) + MAX_DSB, // Pseudo Single wire DS18B20 or DS18S20 +#endif #else AGPIO(GPIO_DSB), // Single wire DS18B20 or DS18S20 +#ifdef ESP8266 // ESP32 don't support dual pin mode AGPIO(GPIO_DSB_OUT), // Pseudo Single wire DS18B20 or DS18S20 +#endif #endif //DS18x20_MULTI_GPIOs #endif #ifdef USE_LMT01