proper HW type message logic

This commit is contained in:
rusEfi 2019-08-06 23:56:35 -04:00
parent 85afbdf8fc
commit ba56a79ad5
1 changed files with 5 additions and 2 deletions

View File

@ -537,12 +537,15 @@ void triggerInfo(void) {
TriggerShape *ts = &engine->triggerCentral.triggerShape;
#if (HAL_TRIGGER_USE_PAL == TRUE) && (PAL_USE_CALLBACKS == TRUE)
scheduleMsg(logger, "trigger PAL mode %d", hwTriggerInputEnabled);
#else
#if HAL_USE_ICU == TRUE
scheduleMsg(logger, "trigger ICU hw: %d %d %d", icuWidthCallbackCounter, icuWidthPeriodCounter, hwTriggerInputEnabled);
#endif /* HAL_USE_ICU */
#if HAL_TRIGGER_USE_PAL == TRUE
scheduleMsg(logger, "trigger PAL mode %d", hwTriggerInputEnabled);
#endif /* HAL_TRIGGER_USE_PAL */
scheduleMsg(logger, "Template %s (%d) trigger %s (%d) useRiseEdge=%s onlyFront=%s useOnlyFirstChannel=%s tdcOffset=%.2f",