@@ -153,14 +153,14 @@ extern "C"
153153/* Brake Pressure Sensor Default Calibration — per-sensor, sensor-side mV
154154 * (i.e. before the 2:1 PCB divider; FEB_ADC_GetBrakePressureNVoltage()
155155 * already multiplies by VOLTAGE_DIVIDER_RATIO_BRAKE to give sensor-side V). */
156- #define BRAKE_PRESSURE_1_MIN_MV 716 /* Sensor 1 @ 0% brake (est. zero; verify per-car) */
157- #define BRAKE_PRESSURE_1_MAX_MV 2008 /* Sensor 1 @ 100% brake (zero + rated span 1292) */
158- #define BRAKE_PRESSURE_2_MIN_MV 585 /* Sensor 2 @ 0% brake (est. zero; verify per-car) */
159- #define BRAKE_PRESSURE_2_MAX_MV 2389 /* Sensor 2 @ 100% brake (zero + rated span 1804) */
160- #define BRAKE_PRESSURE_MIN_PHYSICAL_BAR 0.0f /* Physical minimum: 0 bar */
161- #define BRAKE_PRESSURE_MAX_PHYSICAL_BAR 200.0f /* Physical maximum: 200 bar */
162- #define BRAKE_PRESSURE_THRESHOLD_BAR 5 /* Brake activation threshold */
163- #define BRAKE_PRESSURE_THRESHOLD_PERCENT 2.5f /* Brake activation threshold in percent */
156+ #define BRAKE_PRESSURE_1_MIN_MV 438 /* Sensor 1 @ 0% brake: 0.438 V sensor output */
157+ #define BRAKE_PRESSURE_1_MAX_MV 1730 /* Sensor 1 @ 100% brake: 1.730 V (zero + rated span 1292) */
158+ #define BRAKE_PRESSURE_2_MIN_MV 558 /* Sensor 2 @ 0% brake: 0.558 V sensor output */
159+ #define BRAKE_PRESSURE_2_MAX_MV 2362 /* Sensor 2 @ 100% brake: 2.362 V (zero + rated span 1804) */
160+ #define BRAKE_PRESSURE_MIN_PHYSICAL_BAR 0.0f /* Physical minimum: 0 bar */
161+ #define BRAKE_PRESSURE_MAX_PHYSICAL_BAR 200.0f /* Physical maximum: 200 bar */
162+ #define BRAKE_PRESSURE_THRESHOLD_BAR 5 /* Brake activation threshold */
163+ #define BRAKE_PRESSURE_THRESHOLD_PERCENT 2.5f /* Brake activation threshold in percent */
164164#define BRAKE_PRESSURE_PLAUSIBILITY_TOLERANCE_PERCENT 20.0f /* Max disagreement between brake pressure sensors */
165165
166166/* Brake Input/Switch Calibration */
0 commit comments