only: improving error message Invalid table axis

This commit is contained in:
Andrey 2024-05-16 20:53:31 -04:00
parent 5c1cfccfa8
commit 12d2e12758
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ void ensureArrayIsAscending(const char* msg, const TValue (&values)[TSize]) {
float cur = values[i];
float next = values[i + 1];
if (next <= cur) {
firmwareError(ObdCode::CUSTOM_ERR_AXIS_ORDER, "Invalid table axis (must be ascending!): %s %f %f at %d", msg, cur, next, i);
firmwareError(ObdCode::CUSTOM_ERR_AXIS_ORDER, "Invalid table axis (must be ascending!): %s %f should be below %f at %d", msg, cur, next, i);
}
}
}