so much dead, more or less a dead repo!
This commit is contained in:
parent
d4906fdb8d
commit
808f8cf490
|
@ -54,28 +54,17 @@ void setHondaK() {
|
||||||
strcpy(engineConfiguration->gpPwmNote[0], "VTS");
|
strcpy(engineConfiguration->gpPwmNote[0], "VTS");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* K24A4 engine
|
* K24A4 engine
|
||||||
* PROTEUS_HONDA_K
|
* PROTEUS_HONDA_K
|
||||||
*/
|
*/
|
||||||
void setProteusHondaElement2003() {
|
void setProteusHondaElement2003() {
|
||||||
setHondaK();
|
setHondaK();
|
||||||
// engineConfiguration->trigger.type = TT_TOOTHED_WHEEL;
|
|
||||||
// engineConfiguration->trigger.customTotalToothCount = 12;
|
|
||||||
// engineConfiguration->trigger.customSkippedToothCount = 0;
|
|
||||||
|
|
||||||
|
|
||||||
// engineConfiguration->trigger.type = TT_HONDA_K_CAM_4_1; // cam as primary, ignoring crank
|
|
||||||
// engineConfiguration->globalTriggerAngleOffset = 570;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
strcpy(engineConfiguration->vehicleName, "test");
|
strcpy(engineConfiguration->vehicleName, "test");
|
||||||
|
|
||||||
gppwm_channel *vtsControl = &engineConfiguration->gppwm[0];
|
gppwm_channel *vtsControl = &engineConfiguration->gppwm[0];
|
||||||
|
|
||||||
|
|
||||||
#if HW_PROTEUS & EFI_PROD_CODE
|
#if HW_PROTEUS & EFI_PROD_CODE
|
||||||
// engineConfiguration->triggerInputPins[0] = PROTEUS_DIGITAL_2; // crank
|
// engineConfiguration->triggerInputPins[0] = PROTEUS_DIGITAL_2; // crank
|
||||||
// engineConfiguration->camInputs[0] = PROTEUS_DIGITAL_4; // intake
|
// engineConfiguration->camInputs[0] = PROTEUS_DIGITAL_4; // intake
|
||||||
|
|
|
@ -19,11 +19,6 @@ void setTestCamEngineConfiguration() {
|
||||||
engineConfiguration->trigger.type = TT_ONE_PLUS_ONE;
|
engineConfiguration->trigger.type = TT_ONE_PLUS_ONE;
|
||||||
setCamOperationMode();
|
setCamOperationMode();
|
||||||
|
|
||||||
// engineConfiguration->trigger.type = TT_TOOTHED_WHEEL;
|
|
||||||
// trigger_config_s *triggerConfig = &engineConfiguration->trigger;
|
|
||||||
// triggerConfig->customTotalToothCount = 60;
|
|
||||||
// triggerConfig->customSkippedToothCount = 0;
|
|
||||||
|
|
||||||
engineConfiguration->mafAdcChannel = EFI_ADC_1;
|
engineConfiguration->mafAdcChannel = EFI_ADC_1;
|
||||||
engineConfiguration->tps1_1AdcChannel = EFI_ADC_2;
|
engineConfiguration->tps1_1AdcChannel = EFI_ADC_2;
|
||||||
engineConfiguration->vbattAdcChannel = EFI_ADC_NONE;
|
engineConfiguration->vbattAdcChannel = EFI_ADC_NONE;
|
||||||
|
@ -46,7 +41,6 @@ void setTestCamEngineConfiguration() {
|
||||||
engineConfiguration->ignitionPins[5] = Gpio::Unassigned; // #6
|
engineConfiguration->ignitionPins[5] = Gpio::Unassigned; // #6
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void setTestCrankEngineConfiguration() {
|
void setTestCrankEngineConfiguration() {
|
||||||
setTestCamEngineConfiguration();
|
setTestCamEngineConfiguration();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue