Preset for Mpxh6300 #5481
This commit is contained in:
parent
1ca7a4acae
commit
a6ea992d0b
|
@ -213,6 +213,8 @@ case MT_MPX4250A:
|
||||||
return "MT_MPX4250A";
|
return "MT_MPX4250A";
|
||||||
case MT_MPXH6400:
|
case MT_MPXH6400:
|
||||||
return "MT_MPXH6400";
|
return "MT_MPXH6400";
|
||||||
|
case MT_MPXH6300:
|
||||||
|
return "MT_MPXH6300";
|
||||||
case MT_SUBY_DENSO:
|
case MT_SUBY_DENSO:
|
||||||
return "MT_SUBY_DENSO";
|
return "MT_SUBY_DENSO";
|
||||||
case MT_TOYOTA_89420_02010:
|
case MT_TOYOTA_89420_02010:
|
||||||
|
|
|
@ -438,7 +438,10 @@ typedef enum __attribute__ ((__packed__)) {
|
||||||
* 4 bar
|
* 4 bar
|
||||||
*/
|
*/
|
||||||
MT_MPXH6400 = 14,
|
MT_MPXH6400 = 14,
|
||||||
|
/**
|
||||||
|
* 3 bar
|
||||||
|
*/
|
||||||
|
MT_MPXH6300 = 15,
|
||||||
|
|
||||||
} air_pressure_sensor_type_e;
|
} air_pressure_sensor_type_e;
|
||||||
|
|
||||||
|
|
|
@ -67,6 +67,8 @@ static MapCfg getMapCfg(air_pressure_sensor_type_e sensorType) {
|
||||||
return {0.4 , 20 , 4.65, 250};
|
return {0.4 , 20 , 4.65, 250};
|
||||||
case MT_MPXH6400:
|
case MT_MPXH6400:
|
||||||
return {0.2, 20, 4.8, 400};
|
return {0.2, 20, 4.8, 400};
|
||||||
|
case MT_MPXH6300:
|
||||||
|
return {1.0, 60, 4.5, 270};
|
||||||
default:
|
default:
|
||||||
firmwareError(ObdCode::CUSTOM_ERR_MAP_TYPE, "Unknown MAP type: decoder %d", sensorType);
|
firmwareError(ObdCode::CUSTOM_ERR_MAP_TYPE, "Unknown MAP type: decoder %d", sensorType);
|
||||||
// falls through to custom
|
// falls through to custom
|
||||||
|
|
|
@ -346,7 +346,7 @@ struct gppwm_channel
|
||||||
uint8_t[GPPWM_RPM_COUNT x GPPWM_LOAD_COUNT] autoscale table;;"duty", 0.5, 0, 0, 100, 1
|
uint8_t[GPPWM_RPM_COUNT x GPPWM_LOAD_COUNT] autoscale table;;"duty", 0.5, 0, 0, 100, 1
|
||||||
end_struct
|
end_struct
|
||||||
|
|
||||||
custom air_pressure_sensor_type_e 1 bits, U08, @OFFSET@, [0:4], "Custom", "DENSO183", "MPX4250", "HONDA3BAR", "NEON_2003", "22012AA090", "GM 3 Bar", "MPX4100", "Toyota 89420-02010", "MPX4250A", "Bosch 2.5", "Mazda1Bar", "GM 2 Bar", "GM 1 Bar", "MPXH6400"
|
custom air_pressure_sensor_type_e 1 bits, U08, @OFFSET@, [0:4], "Custom", "DENSO183", "MPX4250", "HONDA3BAR", "NEON_2003", "22012AA090", "GM 3 Bar", "MPX4100", "Toyota 89420-02010", "MPX4250A", "Bosch 2.5", "Mazda1Bar", "GM 2 Bar", "GM 1 Bar", "MPXH6400", "MPXH6300"
|
||||||
|
|
||||||
!
|
!
|
||||||
! lower 16 values are used on stm32 rusEFI, values above 16 are related to Kinetis work in progress
|
! lower 16 values are used on stm32 rusEFI, values above 16 are related to Kinetis work in progress
|
||||||
|
|
Loading…
Reference in New Issue