Merge pull request #193 from biveraxe/ver4dev

Исправляем ошибки компиляции при переходе на новое ядро
This commit is contained in:
2022-09-14 21:31:08 +03:00
committed by GitHub

View File

@@ -598,14 +598,14 @@ int IoTScenario::getLastChar() {
} else if (mode == 1) { } else if (mode == 1) {
if (charCount < strFromFile.length()) { if (charCount < strFromFile.length()) {
LastChar = strFromFile.charAt(charCount); LastChar = strFromFile.charAt(charCount);
// Serial.printf("%d, ", LastChar); //Serial.printf("%d, ", LastChar);
if (LastChar == 10) curLine++; if (LastChar == 10) curLine++;
charCount++; charCount++;
return LastChar; return LastChar;
} else } else
return EOF; return EOF;
} else { } else {
return 0; return EOF;
} }
} }