Added CR on errors in serial console.

This commit is contained in:
Magnus Persson 2022-03-12 08:25:24 +01:00
parent 1e44d9bd01
commit 7cafedd9bf

View File

@ -92,6 +92,7 @@ void ErrorFileLog::addEntry(String err) {
_errors[i] = _errors[i - 1]; _errors[i] = _errors[i - 1];
} }
_errors[0] = err; _errors[0] = err;
err += String(CR);
Log.error(err.c_str()); Log.error(err.c_str());
save(); save();
} }