Fix console formatting glitches (#99)

This commit is contained in:
WJCarpenter
2019-02-10 15:48:29 -08:00
committed by Marcel Stör
parent ba74e3c2a8
commit 086416bd62
2 changed files with 4 additions and 3 deletions

View File

@@ -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) {