more fixes
This commit is contained in:
parent
62bbf35064
commit
b259d0b6f4
@ -26,7 +26,7 @@ extern uint32_t startTime;
|
|||||||
|
|
||||||
|
|
||||||
void setupApplication() {
|
void setupApplication() {
|
||||||
mqttSetup()
|
mqttSetup();
|
||||||
|
|
||||||
sensors.begin();
|
sensors.begin();
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
@ -69,7 +69,7 @@ void read_thermometer() {
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
Serial.println(payload);
|
Serial.println(payload);
|
||||||
#endif
|
#endif
|
||||||
client.publish(configBlock.mqttTopic, payload, true);
|
mqttClient.publish(configBlock.mqttTopic, payload, true);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user