Fixed error printout for calibration errors

This commit is contained in:
Magnus Persson
2022-08-14 14:23:23 +02:00
parent 0de8971255
commit a9deb588aa

View File

@ -98,7 +98,7 @@ int createFormula(RawFormulaData &fd, char *formulaBuffer,
// If the deviation is more than 2 degress we mark it as failed.
if (dev * 1000 > myAdvancedConfig.getMaxFormulaCreationDeviation()) {
writeErrorLog(
"CALC: Validation failed on angle %F, deviation too large %.2F "
"CALC: Validation failed on angle %.2f, deviation too large %.4f "
"SG, formula order %d",
fd.a[i], dev * 1000, order);
valid = false;