From a1ba01e0e4c26cb351442b31f255ad6e4bd0790b Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 5 Sep 2022 19:24:52 -0400 Subject: [PATCH] customTotalToothCount has to be positive and realistic --- firmware/integration/rusefi_config.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index f8f965c1a0..8f49f90436 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -586,8 +586,8 @@ struct trigger_config_s @brief Trigger wheel(s) configuration custom trigger_type_e 4 bits, U32, @OFFSET@, [0:6], @@trigger_type_e_enum@@ trigger_type_e type;+https://github.com/rusefi/rusefi/wiki/All-Supported-Triggers\nset trigger_type X - int customTotalToothCount;;"number", 1, 0, 0, 500, 0 - int customSkippedToothCount;;"number", 1, 0, 0, 500, 0 + int customTotalToothCount;;"number", 1, 0, 1, 300, 0 + int customSkippedToothCount;;"number", 1, 0, 0, 300, 0 end_struct trigger_config_s trigger;