proteus meta

This commit is contained in:
rusefillc 2022-05-04 17:05:08 -04:00
parent e1b2fcb2bc
commit 507660266e
2 changed files with 7 additions and 1 deletions

View File

@ -84,7 +84,7 @@
#if HW_PROTEUS #if HW_PROTEUS
#include "proteus_meta.h" #include "proteus_meta.h"
#endif #endif // HW_PROTEUS
void m73engine() { void m73engine() {
// 13641435991 injector // 13641435991 injector

View File

@ -85,6 +85,10 @@
#error "Unexpected OS ACCESS HERE" #error "Unexpected OS ACCESS HERE"
#endif #endif
#if HW_PROTEUS
#include "proteus_meta.h"
#endif // HW_PROTEUS
#ifndef ETB_MAX_COUNT #ifndef ETB_MAX_COUNT
#define ETB_MAX_COUNT 2 #define ETB_MAX_COUNT 2
#endif /* ETB_MAX_COUNT */ #endif /* ETB_MAX_COUNT */
@ -1070,6 +1074,7 @@ void setHitachiEtbCalibration() {
} }
void setProteusHitachiEtbDefaults() { void setProteusHitachiEtbDefaults() {
#if HW_PROTEUS
setHitachiEtbCalibration(); setHitachiEtbCalibration();
// EFI_ADC_12: "Analog Volt 3" // EFI_ADC_12: "Analog Volt 3"
@ -1083,6 +1088,7 @@ void setProteusHitachiEtbDefaults() {
// EFI_ADC_2: "Analog Volt 7" // EFI_ADC_2: "Analog Volt 7"
engineConfiguration->throttlePedalPositionSecondAdcChannel = PROTEUS_IN_PPS2; engineConfiguration->throttlePedalPositionSecondAdcChannel = PROTEUS_IN_PPS2;
#endif // HW_PROTEUS
} }
#endif /* EFI_ELECTRONIC_THROTTLE_BODY */ #endif /* EFI_ELECTRONIC_THROTTLE_BODY */