From 492076f95c07bc9e08d74944b30d599d4aef841c Mon Sep 17 00:00:00 2001 From: Andrey Date: Sat, 3 Jul 2021 12:06:47 -0400 Subject: [PATCH] Nissan VVT trigger decoder #2887 --- firmware/integration/rusefi_config.txt | 2 +- firmware/tunerstudio/rusefi.input | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 3e61ba53af..0e775936f1 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -1251,7 +1251,7 @@ int16_t tps2Max;Full throttle#2. tpsMax value as 10 bit ADC value. Not Voltage!\ int tpsAccelLength;+This is the number of engine cycles that the TPS position change can occur over, a longer duration will make the enrichment more active but too long may affect steady state driving, a good default is 30-60 cycles. ;"cycles", 1, 0, 1, 200, 0 float tpsAccelEnrichmentThreshold;+Maximum change delta of TPS percentage over the 'length'. Actual TPS change has to be above this value in order for TPS/TPS acceleration to kick in.;"roc", 1, 0, 0, 200, 3 - float vvtOffset;+Angle between cam sensor and VVT zero position\nset vvt_offset X;"value", 1, 0, -720, 1000, 1 + float unusedVvtOffsetWasHere;;"v", 1, 0, -720, 1000, 1 int engineLoadAccelLength;;"cycles", 1, 0, 1, 200, 0 diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index f6097b2937..f7f25e28dd 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -1869,10 +1869,10 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00" field = "Cam mode (exhaust cams)", vvtMode2, {trigger_type != @@TT_TT_MAZDA_MIATA_NA@@} field = "VVT use only rising edge", vvtCamSensorUseRise, {trigger_type != @@TT_TT_MAZDA_MIATA_NA@@} field = "#Set offset so VVT indicates 0 degrees in default position" - field = "VVT offset bank 1 intake", vvtOffset - ;field = "VVT offset bank 1 exhaust", vvtOffset2 - ;field = "VVT offset bank 2 intake", vvtOffset3 - ;field = "VVT offset bank 2 exhaust", vvtOffset4 + field = "VVT offset bank 1 intake", vvtOffsets1 + field = "VVT offset bank 1 exhaust", vvtOffsets2 + field = "VVT offset bank 2 intake", vvtOffsets3 + field = "VVT offset bank 2 exhaust", vvtOffsets4 field = "Print verbose VVT sync details to console",verboseVVTDecoding field = "Print verbose trigger sync to console", verboseTriggerSynchDetails field = "Do not print messages in case of sync error", silentTriggerError