proteusDcWastegateTest
This commit is contained in:
parent
eaa3bf046b
commit
39290a63e7
|
@ -571,6 +571,24 @@ static void mreBoardOldTest() {
|
|||
}
|
||||
|
||||
#if HW_PROTEUS
|
||||
void proteusDcWastegateTest() {
|
||||
engineConfiguration->isBoostControlEnabled = true;
|
||||
engineConfiguration->etbFunctions[0] = ETB_Wastegate;
|
||||
engineConfiguration->etbFunctions[1] = ETB_None;
|
||||
engineConfiguration->map.sensor.hwChannel = EFI_ADC_NONE;
|
||||
|
||||
strncpy(config->luaScript, R"(
|
||||
|
||||
mapSensor = Sensor.new("map")
|
||||
mapSensor : setTimeout(3000)
|
||||
|
||||
function onTick()
|
||||
mapSensor : set(40)
|
||||
end
|
||||
|
||||
)", efi::size(config->luaScript));
|
||||
}
|
||||
|
||||
/**
|
||||
* PROTEUS_QC_TEST_BOARD
|
||||
* set engine_type 42
|
||||
|
|
|
@ -31,6 +31,7 @@ void mreBCM();
|
|||
void proteusBoardTest();
|
||||
void proteusLuaDemo();
|
||||
void proteusHarley();
|
||||
void proteusDcWastegateTest();
|
||||
|
||||
void setTest33816EngineConfiguration();
|
||||
void setBoschHDEV_5_injectors();
|
||||
|
|
|
@ -766,6 +766,9 @@ void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e
|
|||
break;
|
||||
#endif // HW_MICRO_RUSEFI
|
||||
#if HW_PROTEUS
|
||||
case WASTEGATE_PROTEUS_TEST:
|
||||
proteusDcWastegateTest();
|
||||
break;
|
||||
case PROTEUS_GM_LS_4:
|
||||
setProteusGmLs4();
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue