diff --git a/firmware/controllers/sensors/map.cpp b/firmware/controllers/sensors/map.cpp index e6b0c5e39d..4039b8417e 100644 --- a/firmware/controllers/sensors/map.cpp +++ b/firmware/controllers/sensors/map.cpp @@ -48,6 +48,8 @@ static FastInterpolation mpx4250(0, 8, 5, 260); static FastInterpolation mpx4250A(0.25, 20, 4.875, 250); +static FastInterpolation mpxh6400(1 /*volts*/, 90 /*value*/, 3, 250); + static FastInterpolation mpx4100(0.3, 20, 4.9, 105); /** @@ -181,6 +183,7 @@ static FastInterpolation *getDecoder(air_pressure_sensor_type_e type) { case MT_MPX4250A: return &mpx4250A; case MT_MPXH6400: + return &mpxh6400; case MT_HONDA3BAR: return &honda3bar; case MT_DODGE_NEON_2003: diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 11a833c487..ae06cd7732 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -362,7 +362,7 @@ struct gppwm_channel gppwm_table_t table; end_struct -custom air_pressure_sensor_type_e 4 bits, U32, @OFFSET@, [0:3], "Custom", "DENSO183", "MPX4250", "HONDA3BAR", "NEON_2003", "22012AA090", "3 Bar", "MPX4100", "Toyota 89420-02010", "MPX4250A", "Bosch 2.5", "Mazda1Bar", "GM 2 Bar", "GM 1 Bar", "MPXH6400", ""INVALID", "INVALID" +custom air_pressure_sensor_type_e 4 bits, U32, @OFFSET@, [0:3], "Custom", "DENSO183", "MPX4250", "HONDA3BAR", "NEON_2003", "22012AA090", "3 Bar", "MPX4100", "Toyota 89420-02010", "MPX4250A", "Bosch 2.5", "Mazda1Bar", "GM 2 Bar", "GM 1 Bar", "MPXH6400", "INVALID", "INVALID" ! ! lower 16 values are used on stm32 rusEfi, values above 16 are related to Kinetis work in progress