canned m111

This commit is contained in:
rusefillc 2023-03-31 23:34:47 -04:00
parent 2a296d9b25
commit 136dba7143
3 changed files with 10 additions and 0 deletions

View File

@ -223,6 +223,7 @@ pins:
id: [C5, EFI_ADC_15]
class: [switch_inputs, analog_inputs]
color: pink
function: Throttle Pedal Position Sensor 2 (PPS2)
ts_name: 30 - AN volt 7
type: av

View File

@ -43,10 +43,15 @@
// 31 - AN volt 3
#define MRE_IN_ANALOG_VOLT_3 EFI_ADC_7
#define MRE_IN_PPS MRE_IN_ANALOG_VOLT_3
// 32 - AN volt 6
#define MRE_IN_ANALOG_VOLT_6 EFI_ADC_14
// 30 - AN volt 7
#define MRE_IN_ANALOG_VOLT_7 EFI_ADC_15
#define MRE_IN_PPS2 MRE_IN_ANALOG_VOLT_7
// 36 - AN volt 8
#define MRE_IN_ANALOG_VOLT_8 EFI_ADC_8

View File

@ -14,6 +14,8 @@
#include "proteus_meta.h"
#endif // HW_PROTEUS
#include "mre_meta.h"
void setM111EngineConfiguration() {
engineConfiguration->specs.cylindersCount = 4;
engineConfiguration->specs.firingOrder = FO_1_3_4_2;
@ -41,6 +43,8 @@ void setM111EngineConfiguration() {
void setMreM111EngineConfiguration() {
setM111EngineConfiguration();
setPPSInputs(MRE_IN_PPS, MRE_IN_PPS2);
}
void setProteusM111EngineConfiguration() {