B6 GDI
This commit is contained in:
parent
2b7e33404f
commit
93d37634a8
|
@ -38,11 +38,14 @@ void setVwPassatB6(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
|
|
||||||
// "26 - AN volt 2"
|
// "26 - AN volt 2"
|
||||||
engineConfiguration->highPressureFuel.hwChannel = EFI_ADC_6;
|
engineConfiguration->highPressureFuel.hwChannel = EFI_ADC_6;
|
||||||
|
/**
|
||||||
|
* PSS-140
|
||||||
|
*/
|
||||||
// todo: calibration
|
// todo: calibration
|
||||||
engineConfiguration->highPressureFuel.v1 = 0.5; /* volts */;
|
engineConfiguration->highPressureFuel.v1 = 0.5; /* volts */;
|
||||||
engineConfiguration->highPressureFuel.value1 = 0.5;
|
engineConfiguration->highPressureFuel.value1 = 0;
|
||||||
engineConfiguration->highPressureFuel.v2 = 4.5; /* volts */;
|
engineConfiguration->highPressureFuel.v2 = 4.5; /* volts */;
|
||||||
engineConfiguration->highPressureFuel.value2 = 4.5;
|
engineConfiguration->highPressureFuel.value2 = BAR2KPA(140);
|
||||||
|
|
||||||
// "19 - AN volt 4"
|
// "19 - AN volt 4"
|
||||||
engineConfiguration->lowPressureFuel.hwChannel = EFI_ADC_12;
|
engineConfiguration->lowPressureFuel.hwChannel = EFI_ADC_12;
|
||||||
|
|
|
@ -30,6 +30,8 @@ float validateMap(float mapKPa DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||||
|
|
||||||
#define PSI2KPA(psi) (KPA_PER_PSI * (psi))
|
#define PSI2KPA(psi) (KPA_PER_PSI * (psi))
|
||||||
|
|
||||||
|
#define BAR2KPA(bar) (100 * (bar))
|
||||||
|
|
||||||
// PSI (relative to atmosphere) to kPa (relative to vacuum)
|
// PSI (relative to atmosphere) to kPa (relative to vacuum)
|
||||||
#define PSI2KPA_RELATIVE(psi) (101.32500411216164f + PSI2KPA(psi))
|
#define PSI2KPA_RELATIVE(psi) (101.32500411216164f + PSI2KPA(psi))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue