auto-sync
This commit is contained in:
parent
f785833412
commit
93eb03e943
|
@ -813,6 +813,9 @@ static void enableOrDisable(const char *param, bool isEnabled) {
|
|||
} else if (strEqualCaseInsensitive(param, "trigger_only_front")) {
|
||||
engineConfiguration->useOnlyFrontForTrigger = isEnabled;
|
||||
incrementGlobalConfigurationVersion();
|
||||
} else if (strEqualCaseInsensitive(param, "use_only_first_channel")) {
|
||||
engineConfiguration->trigger.useOnlyFirstChannel = isEnabled;
|
||||
incrementGlobalConfigurationVersion();
|
||||
} else if (strEqualCaseInsensitive(param, "two_wire_batch")) {
|
||||
engineConfiguration->twoWireBatch = isEnabled;
|
||||
incrementGlobalConfigurationVersion();
|
||||
|
|
|
@ -289,11 +289,12 @@ void triggerInfo(void) {
|
|||
|
||||
TriggerShape *ts = &engine->triggerShape;
|
||||
|
||||
scheduleMsg(logger, "Template %s (%d) trigger %s (%d) useRiseEdge=%s onlyFront=%s gapBothDirections=%s",
|
||||
scheduleMsg(logger, "Template %s (%d) trigger %s (%d) useRiseEdge=%s onlyFront=%s gapBothDirections=%s useOnlyFirstChannel=%s",
|
||||
getConfigurationName(engineConfiguration->engineType), engineConfiguration->engineType,
|
||||
getTrigger_type_e(engineConfiguration->trigger.type), engineConfiguration->trigger.type,
|
||||
boolToString(TRIGGER_SHAPE(useRiseEdge)), boolToString(engineConfiguration->useOnlyFrontForTrigger),
|
||||
boolToString(TRIGGER_SHAPE(gapBothDirections)));
|
||||
boolToString(TRIGGER_SHAPE(gapBothDirections)),
|
||||
boolToString(engineConfiguration->trigger.useOnlyFirstChannel));
|
||||
|
||||
if (engineConfiguration->trigger.type == TT_TOOTHED_WHEEL) {
|
||||
scheduleMsg(logger, "total %d/skipped %d", engineConfiguration->trigger.customTotalToothCount,
|
||||
|
|
Loading…
Reference in New Issue