This commit is contained in:
rusefillc 2021-10-12 21:03:59 -04:00
parent 6121124f6d
commit 60360ebaea
2 changed files with 22 additions and 5 deletions

View File

@ -69,23 +69,25 @@ static void setupDefaultSensorInputs() {
engineConfiguration->triggerInputPins[2] = GPIO_UNASSIGNED;
// Direct hall-only cam input
engineConfiguration->camInputs[0] = H144_IN_CAM;
engineConfiguration->camInputs[1 * CAMS_PER_BANK] = H144_IN_VSS;
engineConfiguration->camInputs[1 * CAMS_PER_BANK] = H144_IN_D_AUX4;
engineConfiguration->vehicleSpeedSensorInputPin = H144_IN_VSS;
engineConfiguration->tps1_1AdcChannel = H144_IN_TPS;
engineConfiguration->tps1_2AdcChannel = H144_IN_AUX1;
engineConfiguration->throttlePedalPositionAdcChannel = EFI_ADC_3;
engineConfiguration->throttlePedalPositionSecondAdcChannel = EFI_ADC_14;
engineConfiguration->mafAdcChannel = EFI_ADC_10;
engineConfiguration->map.sensor.hwChannel = EFI_ADC_11;
engineConfiguration->mafAdcChannel = EFI_ADC_NONE;
engineConfiguration->map.sensor.hwChannel = H144_IN_MAP1;
engineConfiguration->afr.hwChannel = EFI_ADC_1;
engineConfiguration->afr.hwChannel = EFI_ADC_NONE;
engineConfiguration->clt.adcChannel = H144_IN_CLT;
engineConfiguration->iat.adcChannel = H144_IN_IAT;
engineConfiguration->auxTempSensor1.adcChannel = EFI_ADC_NONE;
engineConfiguration->auxTempSensor1.adcChannel = H144_IN_O2S2;
engineConfiguration->auxTempSensor2.adcChannel = EFI_ADC_NONE;
}

View File

@ -56,6 +56,9 @@ pins:
class: [event_inputs]
ts_name: Crank - K17
- pin: K21
ts_name: Ambient Temperature
- pin: K22
ts_name: BK2 Wastegate Position - 22
@ -92,6 +95,9 @@ pins:
type: 5v
- pin: K31
# IN_MAP1 AIN9
id: EFI_ADC_10
class: analog_inputs
ts_name: Map Sensor K31
function: Manifold Pressure Sensor
@ -129,6 +135,9 @@ pins:
- pin: K39
function: Analog Ground
- pin: K40
function: Vehicle Speed Sensor
- pin: K43
function: sensor +5v feed
type: 5v
@ -150,6 +159,12 @@ pins:
- pin: K57
function: Analog Ground
- pin: K58
# IN_O2S2 AIN12 PA1 EFI_ADC_1
class: analog_inputs
ts_name: Oil Temp
function: Oil Temperature
- pin: K59
function: Analog Ground