refactoring

This commit is contained in:
rusefillc 2021-10-11 23:24:00 -04:00
parent d982229d1b
commit eb4c5684d6
2 changed files with 4 additions and 2 deletions

View File

@ -145,6 +145,10 @@ void setBoardDefaultConfiguration(void) {
engineConfiguration->mainRelayPin = GPIOI_2; // OUT_LOW3
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
setupDefaultSensorInputs();

View File

@ -812,8 +812,6 @@ void setMiataNB2_Hellen72(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
setMazdaMiataEngineNB2Defaults(PASS_CONFIG_PARAMETER_SIGNATURE);
strcpy(CONFIG(vehicleName), "H72 test");
engineConfiguration->tachOutputPin = GPIOD_13; // 3O - TACH (PWM7)
engineConfiguration->alternatorControlPin = GPIOD_15; // 3M - ALTERN (PWM6)
// set tps_min 90
engineConfiguration->tpsMin = 110; // convert 12to10 bit (ADC/4)