Minor changes
This commit is contained in:
parent
0b603489fd
commit
b940f325f2
@ -102,7 +102,6 @@ void setup()
|
|||||||
if (sensorType == ENST_DHT11 || sensorType == ENST_DHT22)
|
if (sensorType == ENST_DHT11 || sensorType == ENST_DHT22)
|
||||||
dht.setup(sensorPin, DHTesp::AUTO_DETECT);
|
dht.setup(sensorPin, DHTesp::AUTO_DETECT);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (relayPin)
|
if (relayPin)
|
||||||
{
|
{
|
||||||
pinMode(relayPin, OUTPUT);
|
pinMode(relayPin, OUTPUT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user