mirror of https://github.com/arendst/Tasmota.git
Merge pull request #16874 from barbudor/overridable_dht_max_sensor
allow DHT_MAX_SENSORS to be overridden
This commit is contained in:
commit
203b040ca2
|
@ -35,7 +35,9 @@
|
|||
|
||||
#define XSNS_06 6
|
||||
|
||||
#ifndef DHT_MAX_SENSORS
|
||||
#define DHT_MAX_SENSORS 4
|
||||
#endif
|
||||
#define DHT_MAX_RETRY 8
|
||||
|
||||
uint8_t dht_data[5];
|
||||
|
|
|
@ -26,7 +26,9 @@
|
|||
|
||||
#define XSNS_06 6
|
||||
|
||||
#ifndef DHT_MAX_SENSORS
|
||||
#define DHT_MAX_SENSORS 4
|
||||
#endif
|
||||
#define DHT_MAX_RETRY 8
|
||||
|
||||
uint32_t dht_maxcycles;
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
|
||||
#define XSNS_06 6
|
||||
|
||||
#ifndef DHT_MAX_SENSORS
|
||||
#define DHT_MAX_SENSORS 4
|
||||
#endif
|
||||
#define DHT_MAX_RETRY 8
|
||||
|
||||
#include <DHT.h>
|
||||
|
|
Loading…
Reference in New Issue