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@@