This commit is contained in:
rusefillc 2021-10-12 20:53:00 -04:00
parent efbfd8658d
commit 6121124f6d
2 changed files with 5 additions and 3 deletions

View File

@ -72,9 +72,6 @@ static void setupDefaultSensorInputs() {
engineConfiguration->triggerInputPins[2] = GPIO_UNASSIGNED; engineConfiguration->triggerInputPins[2] = GPIO_UNASSIGNED;
// Direct hall-only cam input // Direct hall-only cam input
engineConfiguration->camInputs[0] = H144_IN_CAM; engineConfiguration->camInputs[0] = H144_IN_CAM;
// todo: remove from default since 4 cylinder does not use it
// todo: this requires unit test change
engineConfiguration->camInputs[1 * CAMS_PER_BANK] = H144_IN_D_AUX4;
engineConfiguration->tps1_1AdcChannel = H144_IN_TPS; engineConfiguration->tps1_1AdcChannel = H144_IN_TPS;
engineConfiguration->tps1_2AdcChannel = H144_IN_AUX1; engineConfiguration->tps1_2AdcChannel = H144_IN_AUX1;

View File

@ -59,10 +59,15 @@
// IN_TPS AIN17 PA4 // IN_TPS AIN17 PA4
#define H144_IN_TPS EFI_ADC_4 #define H144_IN_TPS EFI_ADC_4
// IN_MAP1 AIN9 PC0
#define H144_IN_MAP1 EFI_ADC_10
#define H144_IN_AUX1 EFI_ADC_8 #define H144_IN_AUX1 EFI_ADC_8
// //
#define H144_IN_AUX2 EFI_ADC_14 #define H144_IN_AUX2 EFI_ADC_14
#define H144_IN_O2S2 EFI_ADC_1
#define H144_IN_D_2 GPIOE_13 #define H144_IN_D_2 GPIOE_13
// A22 // A22
#define H144_IN_D_AUX3 GPIOC_5 #define H144_IN_D_AUX3 GPIOC_5