gcc 2019 q3 fails integration testing #886

nicer messages
This commit is contained in:
rusefi 2019-07-14 12:25:54 -04:00
parent 23c1243dbf
commit 7ac957e108
1 changed files with 2 additions and 2 deletions

View File

@ -525,12 +525,12 @@ void TriggerState::decodeTriggerEvent(trigger_event_e const signal, efitime_t no
actualSynchGap = gap;
for (int i = 0;i<GAP_TRACKING_LENGTH;i++) {
float gap = 1.0 * toothDurations[i] / toothDurations[i + 1];
print("%d: cur %.2f expected from %.2f to %.2f error=%d\r\n",
print("index=%d: gap=%.2f expected from %.2f to %.2f error=%s\r\n",
i,
gap,
TRIGGER_SHAPE(syncronizationRatioFrom[i]),
TRIGGER_SHAPE(syncronizationRatioTo[i]),
someSortOfTriggerError);
boolToString(someSortOfTriggerError));
}