From c80cf4b6326c1b364d3d1b9cdb9959eb0e9d074d Mon Sep 17 00:00:00 2001 From: rusefillc Date: Thu, 19 Aug 2021 15:51:33 -0400 Subject: [PATCH] more detailed message --- firmware/init/sensor/init_tps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/init/sensor/init_tps.cpp b/firmware/init/sensor/init_tps.cpp index 02681088b0..e633b5b5d5 100644 --- a/firmware/init/sensor/init_tps.cpp +++ b/firmware/init/sensor/init_tps.cpp @@ -55,7 +55,7 @@ static bool configureTps(LinearFunc& func, adc_channel_e channel, float closed, // If the voltage for closed vs. open is very near, something is wrong with your calibration if (split < 0.5f) { - firmwareError(OBD_Throttle_Position_Sensor_Circuit_Malfunction, "\"%s\" problem: open %.2f/closed %.2f cal values are too close together. Check your wiring!", msg, + firmwareError(OBD_Throttle_Position_Sensor_Circuit_Malfunction, "\"%s\" problem: open %.2f/closed %.2f cal values are too close together. Check your calibration and wiring!", msg, open, closed); return false;