vr threshold test configuration

This commit is contained in:
Andrey 2021-09-26 02:21:21 -04:00
parent 2c34c84da0
commit 65f8caa686
5 changed files with 25 additions and 1 deletions

View File

@ -688,6 +688,14 @@ void setBoschHDEV_5_injectors(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
CONFIG(mc33_t_hold_tot) = 10000;
}
/**
* set engine_type 108
*/
void setVrThresholdTest(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
setHellenDefaultVrThresholds(PASS_CONFIG_PARAMETER_SIGNATURE);
engineConfiguration->vrThreshold[0].pin = GPIOB_4;
}
/**
* set engine_type 107
*/

View File

@ -34,3 +34,4 @@ void setTest33816EngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
void setBoschHDEV_5_injectors(DECLARE_CONFIG_PARAMETER_SIGNATURE);
void setHellen72etb(DECLARE_CONFIG_PARAMETER_SIGNATURE);
void setRotary(DECLARE_CONFIG_PARAMETER_SIGNATURE);
void setVrThresholdTest(DECLARE_CONFIG_PARAMETER_SIGNATURE);

View File

@ -1,6 +1,6 @@
#include "global.h"
#include "rusefi_enums.h"
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Fri Sep 17 23:02:58 EDT 2021
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Sun Sep 26 02:05:28 EDT 2021
// see also gen_config_and_enums.bat
@ -534,6 +534,12 @@ case SUBARUEJ20G_DEFAULTS:
return "SUBARUEJ20G_DEFAULTS";
case SUBARU_2003_WRX:
return "SUBARU_2003_WRX";
case TEST_108:
return "TEST_108";
case TEST_109:
return "TEST_109";
case TEST_110:
return "TEST_110";
case TEST_33816:
return "TEST_33816";
case TEST_CIVIC_4_0_BOTH:

View File

@ -1115,6 +1115,11 @@ void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e
case TEST_33816:
setTest33816EngineConfiguration(PASS_CONFIG_PARAMETER_SIGNATURE);
break;
case TEST_108:
setVrThresholdTest(PASS_CONFIG_PARAMETER_SIGNATURE);
break;
case TEST_109:
case TEST_110:
case TEST_ROTARY:
setRotary(PASS_CONFIG_PARAMETER_SIGNATURE);
break;

View File

@ -232,6 +232,10 @@ typedef enum {
TEST_ROTARY = ET_TEST_ROTARY,
TEST_108 = 108,
TEST_109 = 109,
TEST_110 = 110,
Force_4_bytes_size_engine_type = ENUM_32_BITS,
} engine_type_e;