better unit test logging
This commit is contained in:
parent
5a10e8adac
commit
fbfef8290c
|
@ -255,6 +255,7 @@ void handleFuelInjectionEvent(int injEventIndex, InjectionEvent *event,
|
|||
if (event->isScheduled) {
|
||||
#if EFI_PRINTF_FUEL_DETAILS
|
||||
if (printFuelDebug) {
|
||||
InjectorOutputPin *output = event->outputs[0];
|
||||
printf("handleFuelInjectionEvent still used1 %s %d\r\n", output->name, (int)getTimeNowUs());
|
||||
}
|
||||
#endif /*EFI_PRINTF_FUEL_DETAILS */
|
||||
|
|
|
@ -463,7 +463,7 @@ void TriggerState::decodeTriggerEvent(TriggerWaveform *triggerShape, const Trigg
|
|||
// scheduleMsg(&logger, "ratio %.2f", 1.0 * toothDurations[0]/ shaftPositionState->toothDurations[1]);
|
||||
#else
|
||||
if (printTriggerDebug) {
|
||||
printf("ratio %.2f: current=%d previous=%d\r\n", 1.0 * toothDurations[0] / toothDurations[1],
|
||||
printf("decodeTriggerEvent ratio %.2f: current=%d previous=%d\r\n", 1.0 * toothDurations[0] / toothDurations[1],
|
||||
toothDurations[0], toothDurations[1]);
|
||||
}
|
||||
#endif
|
||||
|
@ -599,7 +599,7 @@ void TriggerState::decodeTriggerEvent(TriggerWaveform *triggerShape, const Trigg
|
|||
|
||||
#if EFI_UNIT_TEST
|
||||
if (printTriggerDebug) {
|
||||
printf("isSynchronizationPoint=%d index=%d size=%d\r\n",
|
||||
printf("decodeTriggerEvent isSynchronizationPoint=%d index=%d size=%d\r\n",
|
||||
isSynchronizationPoint,
|
||||
currentCycle.current_index,
|
||||
triggerShape->getSize());
|
||||
|
|
|
@ -52,7 +52,7 @@ void TriggerStimulatorHelper::feedSimulatedEvent(const TriggerStateCallback trig
|
|||
// pin_state_t new3rdWheelState = multiChannelStateSequence->getChannelState(2, stateIndex);
|
||||
|
||||
if (printTriggerDebug) {
|
||||
printf("feedSimulatedEvent: %d>%d primary %d>%d secondary %d>%d\r\n", prevIndex, stateIndex, primaryWheelState, newPrimaryWheelState,
|
||||
printf("TriggerStimulator: simulatedEvent: %d>%d primary %d>%d secondary %d>%d\r\n", prevIndex, stateIndex, primaryWheelState, newPrimaryWheelState,
|
||||
secondaryWheelState, newSecondaryWheelState );
|
||||
}
|
||||
#endif /* EFI_UNIT_TEST */
|
||||
|
|
Loading…
Reference in New Issue