2024-10-0601

This commit is contained in:
hans-jurgen 2024-10-06 22:21:27 +02:00
parent 440630f29f
commit 5517bb1f49

View File

@ -122,10 +122,6 @@ void setup() {
if (F_MCP9808 == true){
valTemp = getTemperature_MCP9808();
}
if (!F_BME280 == true){
Serial.println("Topic BME280 löschen!");
Clear_BME280(hostname.c_str());
}
setup_wifi(); // ca. 4,5 s
deviceId = ESP.getChipId();
sprintf(sID, "%010ld", deviceId);
@ -144,6 +140,10 @@ void setup() {
Serial.println("Topic BMP280 löschen!");
Clear_BME280(hostname.c_str());
}
if (!F_BME280 == true){
Serial.println("Topic BME280 löschen!");
Clear_BME280(hostname.c_str());
}
//----------
}