MPXH6400 CALIBRATION #3288
This commit is contained in:
parent
a0e0b4adc0
commit
39a819796a
|
@ -1,6 +1,6 @@
|
|||
#include "global.h"
|
||||
#include "rusefi_enums.h"
|
||||
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Thu Sep 30 19:30:21 UTC 2021
|
||||
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Thu Sep 30 21:33:23 EDT 2021
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
@ -100,6 +100,8 @@ case MT_MPX4250:
|
|||
return "MT_MPX4250";
|
||||
case MT_MPX4250A:
|
||||
return "MT_MPX4250A";
|
||||
case MT_MPXH6400:
|
||||
return "MT_MPXH6400";
|
||||
case MT_SUBY_DENSO:
|
||||
return "MT_SUBY_DENSO";
|
||||
case MT_TOYOTA_89420_02010:
|
||||
|
|
|
@ -919,6 +919,8 @@ typedef enum {
|
|||
|
||||
MT_GM_1_BAR = 13,
|
||||
|
||||
MT_MPXH6400 = 14,
|
||||
|
||||
Force_4_bytes_size_cranking_map_type = ENUM_32_BITS,
|
||||
} air_pressure_sensor_type_e;
|
||||
|
||||
|
|
|
@ -98,6 +98,7 @@ float decodePressure(float voltage, air_pressure_sensor_config_s * mapConfig DEC
|
|||
case MT_MPX4100:
|
||||
case MT_BOSCH_2_5:
|
||||
case MT_MAZDA_1_BAR:
|
||||
case MT_MPXH6400:
|
||||
return getDecoder(mapConfig->type)->getValue(voltage);
|
||||
default:
|
||||
firmwareError(CUSTOM_ERR_MAP_TYPE, "Unknown MAP type: pressure %d", mapConfig->type);
|
||||
|
@ -179,6 +180,7 @@ static FastInterpolation *getDecoder(air_pressure_sensor_type_e type) {
|
|||
return &mpx4100;
|
||||
case MT_MPX4250A:
|
||||
return &mpx4250A;
|
||||
case MT_MPXH6400:
|
||||
case MT_HONDA3BAR:
|
||||
return &honda3bar;
|
||||
case MT_DODGE_NEON_2003:
|
||||
|
|
|
@ -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", "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
|
||||
|
|
Loading…
Reference in New Issue