Correct missing module string for DHT (#444)

The DHT module was not being appended to the modules string reported in the SYStoMQTT messages
This commit is contained in:
mpember authored and Florian committed 2019-08-26 07:00:06 +02:00
1 parent 1ce1fe30dd
commit e4683b1812
1 file changed
+4 -1
+4 -1
View File
@@ -897,7 +897,7 @@ void loop()
MeasureTempAndHum(); //Addon to measure the temperature with a DHT
#endif
#ifdef ZsensorINA226
MeasureINA226(); //Addon to measure the temperature with a DHT
MeasureINA226();
#endif
#ifdef ZsensorHCSR501
MeasureHCSR501();
@@ -998,6 +998,9 @@ void stateMeasures(){
#ifdef ZsensorTSL2561
modules = modules + ZsensorTSL2561;
#endif
#ifdef ZsensorDHT
modules = modules + ZsensorDHT;
#endif
#ifdef ZactuatorONOFF
modules = modules + ZactuatorONOFF;
#endif