This commit is contained in:
parent
34d3cefd74
commit
7b732425ca
|
@ -10,4 +10,35 @@ Gpio getRunningLedPin() {
|
|||
|
||||
Gpio getWarningLedPin() {
|
||||
return Gpio::Unassigned;
|
||||
}
|
||||
|
||||
// board-specific configuration setup
|
||||
void setBoardDefaultConfiguration() {
|
||||
// engineConfiguration->injectionPins[0] = Gpio::F13;
|
||||
// engineConfiguration->ignitionPins[0] = Gpio::E15;
|
||||
|
||||
// engineConfiguration->triggerInputPins[0] = Gpio::B1;
|
||||
// engineConfiguration->triggerInputPins[1] = Gpio::Unassigned;
|
||||
|
||||
// engineConfiguration->map.sensor.hwChannel = EFI_ADC_3;
|
||||
|
||||
// engineConfiguration->clt.adcChannel = EFI_ADC_1;
|
||||
|
||||
// engineConfiguration->iat.adcChannel = EFI_ADC_2;
|
||||
|
||||
|
||||
// 5.6k high side/10k low side = 1.56 ratio divider
|
||||
// engineConfiguration->analogInputDividerCoefficient = 1.56f;
|
||||
|
||||
// 6.34k high side/ 1k low side
|
||||
// engineConfiguration->vbattDividerCoeff = (6.34 + 1) / 1;
|
||||
|
||||
// engineConfiguration->adcVcc = 3.3f;
|
||||
|
||||
// engineConfiguration->clt.config.bias_resistor = 2490;
|
||||
// engineConfiguration->iat.config.bias_resistor = 2490;
|
||||
|
||||
|
||||
// Battery sense on PA0
|
||||
// engineConfiguration->vbattAdcChannel = EFI_ADC_0;
|
||||
}
|
Loading…
Reference in New Issue