forgotten magic constant

This commit is contained in:
rusefillc 2024-11-25 01:00:03 -05:00
parent 5d7b2c2fe8
commit 7a3c980e53
3 changed files with 4 additions and 1 deletions

View File

@ -38,6 +38,7 @@ typedef enum {
// todo https://github.com/rusefi/rusefi/issues/3003
#define PWM_PHASE_MAX_COUNT 280
#endif /* PWM_PHASE_MAX_COUNT */
// todo: rename to TRIGGER_CHANNEL_COUNT?
#define PWM_PHASE_MAX_WAVE_PER_PWM 2
typedef TriggerValue pin_state_t;

View File

@ -1,4 +1,5 @@
#define HW_EVENT_TYPES 6
! technically that's PWM_PHASE_MAX_WAVE_PER_PWM * 2
#define HW_EVENT_TYPES 4
struct_no_prefix trigger_central_s

View File

@ -3,6 +3,7 @@ DOCS_ENUMS_INPUTS = \
$(PROJECT_DIR)/integration/rusefi_config.txt \
$(PROJECT_DIR)/console/binary/output_channels.txt \
$(PROJECT_DIR)/controllers/engine_cycle/knock_controller.txt \
$(PROJECT_DIR)/controllers/trigger/trigger_central.txt \
$(PROJECT_DIR)/controllers/actuators/electronic_throttle.txt \
$(PROJECT_DIR)/integration/LiveData.yaml \
$(PROJECT_DIR)/console/binary/generated/live_data_ids.h \