mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 03:06:33 +00:00
allow DHT_MAX_SENSORS to be overridden
This commit is contained in:
parent
e347665148
commit
90eb8e0c70
@ -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…
x
Reference in New Issue
Block a user