mirror of https://github.com/arendst/Tasmota.git
Allow DS18X20_MAX_SENSORS to be redefined
This commit is contained in:
parent
bafcee4b05
commit
c2f0f96411
|
@ -38,7 +38,9 @@
|
||||||
#define W1_WRITE_SCRATCHPAD 0x4E
|
#define W1_WRITE_SCRATCHPAD 0x4E
|
||||||
#define W1_READ_SCRATCHPAD 0xBE
|
#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
|
#define DS18X20_MAX_SENSORS 8
|
||||||
|
#endif
|
||||||
|
|
||||||
const char kDs18x20Types[] PROGMEM = "DS18x20|DS18S20|DS1822|DS18B20|MAX31850";
|
const char kDs18x20Types[] PROGMEM = "DS18x20|DS18S20|DS1822|DS18B20|MAX31850";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue