ESP32 don't support dual pin mode

This commit is contained in:
md5sum-as 2022-10-15 18:57:29 +03:00
parent 4b2181482f
commit d4f3bc732b
1 changed files with 4 additions and 0 deletions

View File

@ -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