parent
126d96af26
commit
c662cc463d
|
@ -671,7 +671,7 @@ void TriggerCentral::decodeMapCam(efitick_t timestamp, float currentPhase) {
|
|||
float instantMapDiffBetweenReadoutAngles = map - mapCamPrevCycleValue;
|
||||
mapCamPrevCycleValue = map;
|
||||
|
||||
if (instantMapDiffBetweenReadoutAngles > 0) {
|
||||
if (instantMapDiffBetweenReadoutAngles > engineConfiguration->mapSyncThreshold) {
|
||||
mapVvt_sync_counter++;
|
||||
int revolutionCounter = getTriggerCentral()->triggerState.getCrankSynchronizationCounter();
|
||||
mapVvt_MAP_AT_CYCLE_COUNT = revolutionCounter - prevChangeAtCycle;
|
||||
|
|
|
@ -564,7 +564,8 @@ uint32_t cylindersCount;Number of cylinder the engine has.;"", 1, 0, 1, @@MAX_CY
|
|||
custom firing_order_e 1 bits, U08, @OFFSET@, [0:6], "One Cylinder", "1-3-4-2", "1-2-4-3", "1-3-2-4", "1-5-3-6-2-4", "1-8-4-3-6-5-7-2", "1-2-4-5-3", "1-4-2-5-3-6", "1-2", "1-2-3-4-5-6", "1-2-3", "1-8-7-2-6-5-4-3", "1-5-4-2-6-3-7-8 Mustang", "1-6-3-2-5-4", "1-10-9-4-3-6-5-8-7_2", "1-7-5-11-3-9-6-12-2-8-4-10", "1-7-4-10-2-8-6-12-3-9-5-11", "1-4-3-2", "1-12-5-8-3-10-6-7-2-11-4-9", "1-2-7-8-4-5-6-3", "1-3-7-2-6-5-4-8 HO", "1-2-3-4-5-6-7-8-9", "INVALID", "1-2-3-4-5-6-7-8-9-10-11-12", "1-3-2", "1-2-3-4-5-6-7-8", "1-5-4-8-6-3-7-2", "1-4-3-6-2-5", "1-8-7-3-6-5-4-2", "1-6-2-4-3-5", "1-6-5-4-3-2", "1-4-5-2-3-6", "1-5-4-8-3-7-2-6 Voodoo", "1-6-5-10-2-7-3-8-4-9", "1-8-6-2-7-3-4-5 F136", "fo35", "fo36", "fo37"
|
||||
firing_order_e firingOrder;
|
||||
uint8_t justATempTest
|
||||
uint16_t unused2bytesHere
|
||||
uint8_t mapSyncThreshold;Delta kPa for MAP sync;"kPa", 1, 0, 0, 50, 0
|
||||
uint8_t unusedByteHere
|
||||
|
||||
#define CYLINDER_BORE_UNITS "mm"
|
||||
#define CYLINDER_BORE_TOOLTIP "Cylinder diameter in mm"
|
||||
|
|
|
@ -2605,6 +2605,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
|
|||
field = "Require cam/VVT sync for ignition", isPhaseSyncRequiredForIgnition
|
||||
field = "Maximum cam/VVT sync RPM", maxCamPhaseResolveRpm
|
||||
field = "MAP readout angle", mapCamDetectionAnglePosition, 1, { vvtMode1 == @@vvt_mode_e_VVT_MAP_V_TWIN@@ }
|
||||
field = "MAP delta threshold", mapSyncThreshold, 1, { vvtMode1 == @@vvt_mode_e_VVT_MAP_V_TWIN@@ }
|
||||
field = "Print verbose VVT sync details to console",verboseVVTDecoding
|
||||
field = "Print verbose trigger sync to console", verboseTriggerSynchDetails
|
||||
field = "Display logic signals", displayLogicLevelsInEngineSniffer
|
||||
|
|
Loading…
Reference in New Issue