usability

This commit is contained in:
rusefi 2018-03-04 23:21:43 -05:00
parent 5309d606cd
commit f3711be226
3 changed files with 11 additions and 3 deletions

View File

@ -1,4 +1,4 @@
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sat Mar 03 08:46:57 EST 2018
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Mar 04 23:08:53 EST 2018
// begin
#ifndef ENGINE_CONFIGURATION_GENERATED_H_
#define ENGINE_CONFIGURATION_GENERATED_H_
@ -1682,6 +1682,8 @@ typedef struct {
*/
float alternatorOffAboveTps;
/**
* Prime pulse duration in ms
* set cranking_priming_pulse X
* offset 2148
*/
float startOfCrankingPrimingPulse;
@ -2345,4 +2347,4 @@ typedef struct {
#endif
// end
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sat Mar 03 08:46:57 EST 2018
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Mar 04 23:08:53 EST 2018

View File

@ -492,6 +492,11 @@ static void setGlobalTriggerAngleOffset(float value) {
doPrintConfiguration();
}
static void setCrankingPrimingPulse(float value) {
engineConfiguration->startOfCrankingPrimingPulse = value;
incrementGlobalConfigurationVersion(PASS_ENGINE_PARAMETER_SIGNATURE);
}
static void setCrankingTimingAngle(float value) {
engineConfiguration->crankingTimingAngle = value;
incrementGlobalConfigurationVersion(PASS_ENGINE_PARAMETER_SIGNATURE);
@ -1143,6 +1148,7 @@ command_f_s commandsF[] = {{"mock_iat_voltage", setMockIatVoltage},
{"tps_accel_threshold", setTpsAccelThr},
{"tps_decel_threshold", setTpsDecelThr},
{"tps_decel_multiplier", setTpsDecelMult},
{"cranking_priming_pulse", setCrankingPrimingPulse},
{"engine_load_accel_threshold", setEngineLoadAccelThr},
{"engine_load_accel_multiplier", setEngineLoadAccelMult},
{"engine_decel_threshold", setDecelThr},

View File

@ -780,7 +780,7 @@ custom pin_mode_e 4 bits, U32, @OFFSET@, [0:5], @@pin_mode_e_enum@@
float targetVBatt;set targetvbatt VOLTS;"Volts", 1, 0, 0,30, 1
float alternatorOffAboveTps;Turn off alternator output above specified TPS;"%", 1, 0, 0, 200, 2
float startOfCrankingPrimingPulse;;"ms", 1, 0, 0, 200, 1
float startOfCrankingPrimingPulse;Prime pulse duration in ms\nset cranking_priming_pulse X;"ms", 1, 0, 0, 200, 1
int16_t afterCrankingIACtaperDuration;;"cycles", 1, 0, 0, 5000, 0
int16_t iacByTpsTaper;Extra IAC, in percent between 0 and 100, tapered between zero and idle deactivation TPS value;"percent", 1, 0, 0, 500, 0