auto-sync

This commit is contained in:
rusEfi 2016-07-12 09:03:22 -04:00
parent ffa963dda8
commit 45b8692e5f
2 changed files with 7 additions and 5 deletions

View File

@ -177,7 +177,9 @@ void configureHondaCbr600custom(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) {
s->useOnlyPrimaryForSync = true; s->useOnlyPrimaryForSync = true;
s->isSynchronizationNeeded = true; s->isSynchronizationNeeded = true;
s->setTriggerSynchronizationGap2(0.7, 1); s->setTriggerSynchronizationGap2(0.7, 1.1);
s->gapBothDirections = false;
float a = 0; float a = 0;

View File

@ -317,11 +317,11 @@ custom trigger_type_e 4 bits, U32, @OFFSET@, [0:4], @@trigger_type_e_enum@@
bit customNeedSecondTriggerInput; bit customNeedSecondTriggerInput;
bit useOnlyFirstChannel;+This option could be used if your second trigger channel is broken bit useOnlyFirstChannel;+This option could be used if your second trigger channel is broken
int customTotalToothCount;;"number", 1, 0.0, 0, 1000.0, 2 int customTotalToothCount;;"number", 1, 0.0, 0, 500.0, 0
int customSkippedToothCount;;"number", 1, 0.0, 0, 1000.0, 2 int customSkippedToothCount;;"number", 1, 0.0, 0, 500.0, 0
float customSyncRatioFrom;;"number", 1, 0.0, 0, 1000.0, 2 float customSyncRatioFrom;;"number", 1, 0.0, 0, 1000.0, 4
float customSyncRatioTo;;"number", 1, 0.0, 0, 1000.0, 2 float customSyncRatioTo;;"number", 1, 0.0, 0, 1000.0, 4
bool32_t customUseRiseEdge; bool32_t customUseRiseEdge;
end_struct end_struct