Removed obsolete debug messages

This commit is contained in:
Kai Lauterbach 2022-09-15 13:28:53 +02:00
parent f22ec9b02d
commit 6aa242da85

View file

@ -178,7 +178,7 @@ void _writePoint()
uint32_t _timeout = millis();
debug("InfluxDB: check connection");
//debug("InfluxDB2: check connection");
do {
} while (client.validateConnection() and (_timeout + INFLUXDB_TIMEOUT_MS) <= millis());
@ -190,7 +190,7 @@ void _writePoint()
_timeout = millis();
debug("InfluxDB: waiting for write ready");
//debug("InfluxDB2: waiting for write ready");
// wait unitl ready
do {
} while (client.canSendRequest() == false and (_timeout + INFLUXDB_TIMEOUT_MS) <= millis());
@ -204,7 +204,7 @@ void _writePoint()
// Write point
if (!client.writePoint(sensor))
{
debug("InfluxDB write failed: " + String(client.getLastErrorMessage()) + " Err: " + String(client.getLastStatusCode()));
debug("InfluxDB2 write failed: " + String(client.getLastErrorMessage()) + " Err: " + String(client.getLastStatusCode()));
}
}