This commit is contained in:
Andrey 2023-11-02 10:29:26 -04:00
parent 1ae4d45548
commit 752c0d278a
2 changed files with 3 additions and 4 deletions

View File

@ -72,8 +72,6 @@ void setProteusHondaElement2003() {
strcpy(engineConfiguration->vehicleName, "test");
gppwm_channel *vtsControl = &engineConfiguration->gppwm[0];
#if HW_PROTEUS & EFI_PROD_CODE
// engineConfiguration->triggerInputPins[0] = PROTEUS_DIGITAL_2; // crank
// engineConfiguration->camInputs[0] = PROTEUS_DIGITAL_4; // intake
@ -90,6 +88,7 @@ void setProteusHondaElement2003() {
engineConfiguration->injectionPins[2] = Gpio::PROTEUS_LS_6;
engineConfiguration->injectionPins[3] = Gpio::PROTEUS_LS_5;
gppwm_channel *vtsControl = &engineConfiguration->gppwm[0];
vtsControl->pin = Gpio::PROTEUS_HS_1;
engineConfiguration->vvtPins[0] = Gpio::PROTEUS_HS_2;

View File

@ -51,14 +51,14 @@ void setM111EngineConfiguration() {
engineConfiguration->etb.dFactor = 0.088;
engineConfiguration->etb.offset = 0;
gppwm_channel *scBypass = &engineConfiguration->gppwm[0];
strcpy(engineConfiguration->gpPwmNote[0], "SC Bypass");
#if HW_MICRO_RUSEFI && EFI_PROD_CODE
gppwm_channel *scBypass = &engineConfiguration->gppwm[0];
scBypass->pin = MRE_GPOUT_3;
#endif // HW_MICRO_RUSEFI
gppwm_channel *scClutch = &engineConfiguration->gppwm[1];
#if HW_MICRO_RUSEFI
gppwm_channel *scClutch = &engineConfiguration->gppwm[1];
scClutch->pin = MRE_LS_2;
engineConfiguration->vvtPins[0] = MRE_LS_1;
#endif // HW_MICRO_RUSEFI