Nissan progress
This commit is contained in:
parent
d374f7d57a
commit
d48ed47fb9
|
@ -81,6 +81,9 @@ static void setupDefaultSensorInputs() {
|
|||
engineConfiguration->triggerInputPins[2] = GPIO_UNASSIGNED;
|
||||
// Direct hall-only cam input
|
||||
engineConfiguration->camInputs[0] = GPIOA_6;
|
||||
// todo: remove from default since 4 cylinder does not use it
|
||||
// todo: this requires unit test change
|
||||
engineConfiguration->camInputs[1 * CAMS_PER_BANK] = GPIOA_7;
|
||||
|
||||
engineConfiguration->tps1_1AdcChannel = EFI_ADC_4;
|
||||
engineConfiguration->tps1_2AdcChannel = EFI_ADC_8;
|
||||
|
|
|
@ -15,6 +15,8 @@ void setHellen121nissanQR(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
engineConfiguration->specs.displacement = 2;
|
||||
strcpy(CONFIG(engineCode), "QR");
|
||||
|
||||
engineConfiguration->camInputs[1 * CAMS_PER_BANK] = GPIO_UNASSIGNED;
|
||||
|
||||
engineConfiguration->vvtMode[0] = VVT_NISSAN_VQ;
|
||||
|
||||
// we have this here and not in board_configuration.cpp so that unit test would get this value
|
||||
|
@ -32,8 +34,6 @@ void setHellen121nissanVQ(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
engineConfiguration->specs.displacement = 4;
|
||||
strcpy(CONFIG(engineCode), "VQ");
|
||||
|
||||
engineConfiguration->camInputs[1 * CAMS_PER_BANK] = GPIOA_7;
|
||||
|
||||
engineConfiguration->vvtMode[0] = VVT_NISSAN_VQ;
|
||||
|
||||
// we have this here and not in board_configuration.cpp so that unit test would get this value
|
||||
|
|
Loading…
Reference in New Issue