scramblr reports sync issues on NB1 fix #990
This commit is contained in:
parent
4d095d4844
commit
47eaea3da3
|
@ -103,7 +103,7 @@ void initializeMazdaMiataNb2Crank(TriggerShape *s) {
|
|||
|
||||
static void initializeMazdaMiataNb1ShapeWithOffset(TriggerShape *s, float offset) {
|
||||
s->initialize(FOUR_STROKE_CAM_SENSOR, true);
|
||||
s->setTriggerSynchronizationGap(0.11f);
|
||||
s->setTriggerSynchronizationGap3(0, 0.065, 0.17f);
|
||||
s->useRiseEdge = false;
|
||||
s->bothFrontsRequired = true;
|
||||
s->useOnlyPrimaryForSync = true;
|
||||
|
|
|
@ -558,7 +558,7 @@ void TriggerState::decodeTriggerEvent(trigger_event_e const signal, efitime_t no
|
|||
scheduleMsg(logger, "index=%d NaN gap, you have noise issues?",
|
||||
i);
|
||||
} else {
|
||||
scheduleMsg(logger, "time=%d index=%d: gap=%.2f expected from %.2f to %.2f error=%s",
|
||||
scheduleMsg(logger, "time=%d index=%d: gap=%.3f expected from %.3f to %.3f error=%s",
|
||||
/* cast is needed to make sure we do not put 64 bit value to stack*/ (int)getTimeNowSeconds(),
|
||||
i,
|
||||
gap,
|
||||
|
|
Loading…
Reference in New Issue