Fixed error printout for calibration errors
This commit is contained in:
@ -98,7 +98,7 @@ int createFormula(RawFormulaData &fd, char *formulaBuffer,
|
|||||||
// If the deviation is more than 2 degress we mark it as failed.
|
// If the deviation is more than 2 degress we mark it as failed.
|
||||||
if (dev * 1000 > myAdvancedConfig.getMaxFormulaCreationDeviation()) {
|
if (dev * 1000 > myAdvancedConfig.getMaxFormulaCreationDeviation()) {
|
||||||
writeErrorLog(
|
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",
|
"SG, formula order %d",
|
||||||
fd.a[i], dev * 1000, order);
|
fd.a[i], dev * 1000, order);
|
||||||
valid = false;
|
valid = false;
|
||||||
|
Reference in New Issue
Block a user