From 12d2e127584db1c7f6af12eec1c478d7aac5c6c7 Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 16 May 2024 20:53:31 -0400 Subject: [PATCH] only: improving error message Invalid table axis --- firmware/util/math/efi_interpolation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/util/math/efi_interpolation.h b/firmware/util/math/efi_interpolation.h index 7b3f08b263..f25b450527 100644 --- a/firmware/util/math/efi_interpolation.h +++ b/firmware/util/math/efi_interpolation.h @@ -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); } } }