auto-sync

This commit is contained in:
rusEfi 2016-07-14 08:03:18 -04:00
parent 0fec532fc9
commit 8284e23b13
2 changed files with 2 additions and 2 deletions

View File

@ -1703,7 +1703,7 @@ typedef enum {
CUSTOM_OBD_33 = 6033,
CUSTOM_OBD_34 = 6034,
CUSTOM_OBD_35 = 6035,
CUSTOM_OBD_36 = 6036,
CUSTOM_SYNC_ERROR = 6036,
CUSTOM_OBD_37 = 6037,
CUSTOM_OBD_38 = 6038,
CUSTOM_OBD_39 = 6039,

View File

@ -300,7 +300,7 @@ void TriggerState::decodeTriggerEvent(trigger_event_e const signal, efitime_t no
toothed_previous_time = nowNt;
}
if (!isValidIndex(PASS_ENGINE_PARAMETER_F) && !isInitializingTrigger) {
warning(CUSTOM_OBD_36, "sync error: index #%d above total size %d", currentCycle.current_index, TRIGGER_SHAPE(size));
warning(CUSTOM_SYNC_ERROR, "sync error: index #%d above total size %d", currentCycle.current_index, TRIGGER_SHAPE(size));
lastDecodingErrorTime = getTimeNowNt();
someSortOfTriggerError = true;
}