Fix console formatting glitches (#99)
This commit is contained in:
@@ -7,9 +7,10 @@ TouchControllerWS::TouchControllerWS(XPT2046_Touchscreen *touchScreen) {
|
||||
bool TouchControllerWS::loadCalibration() {
|
||||
// always use this to "mount" the filesystem
|
||||
bool result = SPIFFS.begin();
|
||||
Serial.println("SPIFFS opened: " + result);
|
||||
Serial.print("SPIFFS opened: ");
|
||||
Serial.println(result ? "OK" : "Failed");
|
||||
|
||||
// this opens the file "f.txt" in read-mode
|
||||
// this opens the file in read-mode
|
||||
File f = SPIFFS.open("/calibration.txt", "r");
|
||||
|
||||
if (!f) {
|
||||
|
||||
@@ -281,7 +281,7 @@ void updateData() {
|
||||
}
|
||||
// calculate for time calculation how much the dst class adds.
|
||||
dstOffset = UTC_OFFSET * 3600 + dstAdjusted.time(nullptr) - time(nullptr);
|
||||
Serial.printf("Time difference for DST: %d", dstOffset);
|
||||
Serial.printf("Time difference for DST: %d\n", dstOffset);
|
||||
|
||||
drawProgress(50, "Updating conditions...");
|
||||
OpenWeatherMapCurrent *currentWeatherClient = new OpenWeatherMapCurrent();
|
||||
|
||||
Reference in New Issue
Block a user