Actualiser src/main.cpp
This commit is contained in:
parent
2f6da4ea09
commit
98b0130911
|
@ -668,6 +668,7 @@ void loop()
|
||||||
Serial.println("\n");
|
Serial.println("\n");
|
||||||
Serial.println("-----------------Local---------------------");
|
Serial.println("-----------------Local---------------------");
|
||||||
SendLocalData();
|
SendLocalData();
|
||||||
|
nvs_flash_erase(); // Supprime les données en local.
|
||||||
MqttClient.publish(TOPIC, date);
|
MqttClient.publish(TOPIC, date);
|
||||||
Serial.println("-----------------Brut---------------------");
|
Serial.println("-----------------Brut---------------------");
|
||||||
Serial.println(date);
|
Serial.println(date);
|
||||||
|
|
Loading…
Reference in a new issue