Compile warnings eliminated.

Minor typo.
DEBUG_PRINTF fix for 8266
This commit is contained in:
Blaz Kristan
2021-08-24 21:35:47 +02:00
parent be7e2bed6f
commit 84d0c17c4b
5 changed files with 33 additions and 39 deletions

View File

@@ -81,7 +81,9 @@ class UsermodTemperature : public Usermod {
temperature = readDallas();
lastMeasurement = millis();
waitingForConversion = false;
DEBUG_PRINTF("Read temperature %2.1f.\n", temperature);
//DEBUG_PRINTF("Read temperature %2.1f.\n", temperature); // does not work properly on 8266
DEBUG_PRINT(F("Read temperature "));
DEBUG_PRINTLN(temperature);
}
bool findSensor() {