unused tach field (#1918)

This commit is contained in:
Matthew Kennedy 2020-10-29 12:26:01 -07:00 committed by GitHub
parent f527972670
commit 3e30865e6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 4 deletions

View File

@ -750,7 +750,6 @@ static void setDefaultEngineConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
initTemperatureCurve(IAT_FUEL_CORRECTION_CURVE, 1);
engineConfiguration->tachPulseDuractionMs = 4;
engineConfiguration->tachPulseTriggerIndex = 4;
engineConfiguration->auxPid[0].minValue = 10;
engineConfiguration->auxPid[0].maxValue = 90;

View File

@ -1088,7 +1088,7 @@ custom pin_mode_e 1 bits, U08, @OFFSET@, [0:6], @@pin_mode_e_enum@@
float[CRANKING_CURVE_SIZE] crankingTpsBins;;"%", 1, 0, 0.0, 100.0, 2
float tachPulseDuractionMs;;"ms", 1, 0, 0.0, 100.0, 2
int tachPulseTriggerIndex;+Trigger cycle index at which we start tach pulse (performance consideration);"index", 1, 0, 0.0, 360.0, 0
int unused1708;;"units", 1, 0, -20, 100, 0
float wwaeTau;+Length of time the deposited wall fuel takes to dissipate after the start of acceleration. ;"Seconds", 1, 0, 0.0, 3.0, 2
pid_s alternatorControl;

View File

@ -2684,7 +2684,6 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00"
dialog = tachSettings, "Tachometer output"
field = "Pin", tachOutputPin
field = "Pin mode", tachOutputPinMode
field = "Rise at trigger index", tachPulseTriggerIndex
field = "Pulse duration is duty cycle", tachPulseDurationAsDutyCycle
field = "Pulse duration", tachPulseDuractionMs
field = "Pulse per Rev", tachPulsePerRev

View File

@ -17,7 +17,6 @@ TEST(tachometer, testPulsePerRev) {
engineConfiguration->tachPulsePerRev = 4;
engineConfiguration->tachPulseDuractionMs = 0.5f;
engineConfiguration->tachPulseDurationAsDutyCycle = true;
engineConfiguration->tachPulseTriggerIndex = 0;
// Set predictable trigger settings
engineConfiguration->trigger.customTotalToothCount = 8;