From 1aa7331088c1a3d3be0ca688ed1b81fa95d7ebdc Mon Sep 17 00:00:00 2001 From: Serge <60098151+Xjeater@users.noreply.github.com> Date: Thu, 17 Jun 2021 23:50:53 +0300 Subject: [PATCH] Update xsns_05_ds18x20_esp32.ino --- tasmota/xsns_05_ds18x20_esp32.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/xsns_05_ds18x20_esp32.ino b/tasmota/xsns_05_ds18x20_esp32.ino index 0109304ed..d07267db2 100644 --- a/tasmota/xsns_05_ds18x20_esp32.ino +++ b/tasmota/xsns_05_ds18x20_esp32.ino @@ -37,7 +37,9 @@ #define W1_CONVERT_TEMP 0x44 #define W1_READ_SCRATCHPAD 0xBE +#ifndef DS18X20_MAX_SENSORS // DS18X20_MAX_SENSORS fallback to 8 if not defined in user_config_override.h #define DS18X20_MAX_SENSORS 8 +#endif const char kDs18x20Types[] PROGMEM = "DS18x20|DS18S20|DS1822|DS18B20|MAX31850";