From c97f86e8a7cac958301d8831f3b6c17108a1ac25 Mon Sep 17 00:00:00 2001 From: Andrey Date: Tue, 16 Aug 2022 19:43:46 -0400 Subject: [PATCH] Revert "small step forward? (#4450)" This reverts commit 10c3d5080a07e03b7f743a8e04dc61d3df40a5a2. --- firmware/controllers/trigger/trigger_central.txt | 1 + firmware/integration/LiveData.yaml | 1 - firmware/integration/rusefi_config.txt | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/firmware/controllers/trigger/trigger_central.txt b/firmware/controllers/trigger/trigger_central.txt index 55b6c21d4e..27a28462ea 100644 --- a/firmware/controllers/trigger/trigger_central.txt +++ b/firmware/controllers/trigger/trigger_central.txt @@ -1,3 +1,4 @@ +#define HW_EVENT_TYPES 6 struct_no_prefix trigger_central_s diff --git a/firmware/integration/LiveData.yaml b/firmware/integration/LiveData.yaml index cb9b916905..11f5470855 100644 --- a/firmware/integration/LiveData.yaml +++ b/firmware/integration/LiveData.yaml @@ -80,7 +80,6 @@ Usages: - name: trigger_central java: TriggerCentral.java folder: controllers/trigger - prepend: integration/rusefi_config.txt withCDefines: true - name: trigger_state diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 680616248a..712110dcd9 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -137,8 +137,6 @@ struct_no_prefix engine_configuration_s #define ETB_BIAS_CURVE_LENGTH 8 -#define HW_EVENT_TYPES 6 - #define TOOTH_PACKET_COUNT 1000 #define TOOTH_PACKET_SIZE 2 #define TOOTH_DATA_LENGTH @@TOOTH_PACKET_SIZE@@*@@TOOTH_PACKET_COUNT@@