From 412e64c1c5316ee34bfa0e2a0fc118bbe2ff3a2c Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 11 Feb 2023 15:30:01 -0500 Subject: [PATCH] Split ConfigGenerator around trigger_defines.txt #5051 --- firmware/integration/trigger_api.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 firmware/integration/trigger_api.txt diff --git a/firmware/integration/trigger_api.txt b/firmware/integration/trigger_api.txt new file mode 100644 index 0000000000..9ea98932cf --- /dev/null +++ b/firmware/integration/trigger_api.txt @@ -0,0 +1,16 @@ +! +! temporary copy-paste +! todo: see Split ConfigGenerator around trigger_defines.txt #5051 +! + +#define TRIGGERS_FILE_NAME "triggers.txt" +#define TRIGGER_IS_CRANK_KEY "crankBased" +#define TRIGGER_CYCLE_DURATION "cycleDuration" +#define TRIGGER_IS_SECOND_WHEEL_CAM "isSecondWheelCam" +#define TRIGGER_HAS_SECOND_CHANNEL "hasSecondChannel" +#define TRIGGER_HARDCODED_OPERATION_MODE "knownOperationMode" +#define TRIGGER_COMMENT "#" +#define TRIGGER_GAPS_COUNT "gapsCount" +#define TRIGGER_GAP_FROM "gapFrom" +#define TRIGGER_GAP_TO "gapTo" +#define TRIGGER_WITH_SYNC "isSynchronizationNeeded"