refactoring
This commit is contained in:
parent
d982229d1b
commit
eb4c5684d6
|
@ -145,6 +145,10 @@ void setBoardDefaultConfiguration(void) {
|
||||||
engineConfiguration->mainRelayPin = GPIOI_2; // OUT_LOW3
|
engineConfiguration->mainRelayPin = GPIOI_2; // OUT_LOW3
|
||||||
engineConfiguration->auxPidPins[0] = GPIOI_0; // 4R - VVT (O5)
|
engineConfiguration->auxPidPins[0] = GPIOI_0; // 4R - VVT (O5)
|
||||||
|
|
||||||
|
engineConfiguration->tachOutputPin = GPIOD_13; // 3O - TACH (PWM7)
|
||||||
|
engineConfiguration->alternatorControlPin = GPIOD_15; // 3M - ALTERN (PWM6)
|
||||||
|
|
||||||
|
|
||||||
// "required" hardware is done - set some reasonable defaults
|
// "required" hardware is done - set some reasonable defaults
|
||||||
setupDefaultSensorInputs();
|
setupDefaultSensorInputs();
|
||||||
|
|
||||||
|
|
|
@ -812,8 +812,6 @@ void setMiataNB2_Hellen72(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
setMazdaMiataEngineNB2Defaults(PASS_CONFIG_PARAMETER_SIGNATURE);
|
setMazdaMiataEngineNB2Defaults(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||||
strcpy(CONFIG(vehicleName), "H72 test");
|
strcpy(CONFIG(vehicleName), "H72 test");
|
||||||
|
|
||||||
engineConfiguration->tachOutputPin = GPIOD_13; // 3O - TACH (PWM7)
|
|
||||||
engineConfiguration->alternatorControlPin = GPIOD_15; // 3M - ALTERN (PWM6)
|
|
||||||
|
|
||||||
// set tps_min 90
|
// set tps_min 90
|
||||||
engineConfiguration->tpsMin = 110; // convert 12to10 bit (ADC/4)
|
engineConfiguration->tpsMin = 110; // convert 12to10 bit (ADC/4)
|
||||||
|
|
Loading…
Reference in New Issue