more info verbose trigger/vvt
This commit is contained in:
parent
f3a5b027d9
commit
9d942a1c4a
|
@ -576,15 +576,20 @@ expected<TriggerDecodeResult> TriggerDecoderBase::decodeTriggerEvent(
|
|||
efiPrintf("index=%d NaN gap, you have noise issues?",
|
||||
i);
|
||||
} else {
|
||||
efiPrintf("%srpm=%d time=%d eventIndex=%d gapIndex=%d: gap=%.3f expected from %.3f to %.3f error=%s",
|
||||
float ratioTo = triggerShape.syncronizationRatioTo[i];
|
||||
|
||||
bool gapOk = isInRange(ratioFrom, gap, ratioTo);
|
||||
|
||||
efiPrintf("%srpm=%d time=%d eventIndex=%d gapIndex=%d: %s gap=%.3f expected from %.3f to %.3f error=%s",
|
||||
triggerConfiguration.PrintPrefix,
|
||||
(int)Sensor::getOrZero(SensorType::Rpm),
|
||||
/* cast is needed to make sure we do not put 64 bit value to stack*/ (int)getTimeNowSeconds(),
|
||||
currentCycle.current_index,
|
||||
i,
|
||||
gapOk ? "Y" : "n",
|
||||
gap,
|
||||
ratioFrom,
|
||||
triggerShape.syncronizationRatioTo[i],
|
||||
ratioTo,
|
||||
boolToString(someSortOfTriggerError()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue