secondary MRE
This commit is contained in:
parent
5596fd2404
commit
75d8d334b7
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
#include "custom_engine.h"
|
#include "custom_engine.h"
|
||||||
#include "fsio_impl.h"
|
#include "fsio_impl.h"
|
||||||
|
#include "mre_meta.h"
|
||||||
|
|
||||||
#if EFI_ELECTRONIC_THROTTLE_BODY
|
#if EFI_ELECTRONIC_THROTTLE_BODY
|
||||||
#include "electronic_throttle.h"
|
#include "electronic_throttle.h"
|
||||||
|
@ -606,6 +607,30 @@ void mreBCM(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void mreSecondaryCan(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
|
engineConfiguration->tps1_1AdcChannel = EFI_ADC_NONE;
|
||||||
|
engineConfiguration->tps2_1AdcChannel = EFI_ADC_NONE;
|
||||||
|
engineConfiguration->clt.adcChannel = EFI_ADC_NONE;
|
||||||
|
engineConfiguration->iat.adcChannel = EFI_ADC_NONE;
|
||||||
|
engineConfiguration->map.sensor.hwChannel = EFI_ADC_NONE;
|
||||||
|
|
||||||
|
|
||||||
|
engineConfiguration->auxAnalogInputs[0] = MRE_IN_TPS;
|
||||||
|
engineConfiguration->auxAnalogInputs[1] = MRE_IN_MAP;
|
||||||
|
engineConfiguration->auxAnalogInputs[2] = MRE_IN_CLT;
|
||||||
|
engineConfiguration->auxAnalogInputs[3] = MRE_IN_IAT;
|
||||||
|
// engineConfiguration->auxAnalogInputs[0] =
|
||||||
|
|
||||||
|
|
||||||
|
// EFI_ADC_14: "32 - AN volt 6"
|
||||||
|
// engineConfiguration->afr.hwChannel = EFI_ADC_14;
|
||||||
|
|
||||||
|
|
||||||
|
strncpy(config->luaScript, "function onTick()\n"
|
||||||
|
"end", efi::size(config->luaScript));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MRE_BOARD_NEW_TEST
|
* MRE_BOARD_NEW_TEST
|
||||||
* set engine_type 31
|
* set engine_type 31
|
||||||
|
|
|
@ -21,6 +21,7 @@ void setIssue898(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
void setTestQuadCam(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setTestQuadCam(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
void mreBoardNewTest(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void mreBoardNewTest(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
void mreSecondaryCan(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
void mreBCM(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void mreBCM(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -883,6 +883,8 @@ void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e
|
||||||
setM111EngineConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE);
|
setM111EngineConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||||
break;
|
break;
|
||||||
case MRE_SECONDARY_CAN:
|
case MRE_SECONDARY_CAN:
|
||||||
|
mreSecondaryCan(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
break;
|
||||||
case UNUSED101:
|
case UNUSED101:
|
||||||
case MRE_SUBARU_EJ18:
|
case MRE_SUBARU_EJ18:
|
||||||
setSubaruEJ18_MRE(PASS_CONFIG_PARAMETER_SIGNATURE);
|
setSubaruEJ18_MRE(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
Loading…
Reference in New Issue