Update board_configuration.cpp

ok didnt work
This commit is contained in:
AlphaX 2024-04-23 03:19:20 -04:00 committed by GitHub
parent 60835ed5c2
commit 701d067033
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 11 deletions

View File

@ -42,19 +42,19 @@ void setCustomVbatt() {
engineConfiguration->vbattAdcChannel = EFI_ADC_12;
}
/*
static void setInjectorPins() {
engineConfiguration->injectionPins[0] = E0;
engineConfiguration->injectionPins[1] = E6;
engineConfiguration->injectionPins[2] = D9;
engineConfiguration->injectionPins[3] = E3;
engineConfiguration->injectionPins[0] = Gpio::E0;
engineConfiguration->injectionPins[1] = Gpio::E6;
engineConfiguration->injectionPins[2] = Gpio::D9;
engineConfiguration->injectionPins[3] = Gpio::E3;
}
static void setIgnitionPins() {
engineConfiguration->ignitionPins[0] = A8;
engineConfiguration->ignitionPins[1] = C9;
engineConfiguration->ignitionPins[2] = A10;
engineConfiguration->ignitionPins[3] = C8;
engineConfiguration->ignitionPins[0] = Gpio::A8;
engineConfiguration->ignitionPins[1] = Gpio::C9;
engineConfiguration->ignitionPins[2] = Gpio::A10;
engineConfiguration->ignitionPins[3] = Gpio::C8;
}
void setBoardDefaultConfiguration() {
@ -63,7 +63,10 @@ void setBoardDefaultConfiguration() {
engineConfiguration->iat.adcChannel = EFI_ADC_13;
engineConfiguration->afr.hwChannel = EFI_ADC_14;
engineConfiguration->vbattAdcChannel = EFI_ADC_12;
engineConfiguration->analogInputDividerCoefficient = 10.2f;
engineConfiguration->triggerInputPins[0] = B1;
engineConfiguration->triggerInputPins[1] = A6;
engineConfiguration->triggerInputPins[0] = Gpio::B1;
engineConfiguration->triggerInputPins[1] = Gpio::A6;
}
*/