making enum less public API
This commit is contained in:
parent
4fc1f5ad24
commit
d4f02bbece
|
@ -39,13 +39,6 @@ typedef enum __attribute__ ((__packed__))
|
|||
PIN_INVALID = 0x80
|
||||
} brain_pin_diag_e;
|
||||
|
||||
// see also PWM_PHASE_MAX_WAVE_PER_PWM
|
||||
// todo: better names?
|
||||
enum class TriggerWheel : uint8_t {
|
||||
T_PRIMARY = 0,
|
||||
T_SECONDARY = 1,
|
||||
};
|
||||
|
||||
typedef enum __attribute__ ((__packed__)) {
|
||||
/**
|
||||
* This mode is useful for troubleshooting and research - events are logged but no effects on phase synchronization
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include "auto_generated_enums.h"
|
||||
#include "trigger_structure.h"
|
||||
#include "auto_generated_commonenum.h"
|
||||
#include "auto_generated_enginetypes.h"
|
||||
#include "efilib.h"
|
||||
|
|
|
@ -14,6 +14,13 @@
|
|||
#include "engine_configuration_generated_structures.h"
|
||||
#include <rusefi/isnan.h>
|
||||
|
||||
// see also PWM_PHASE_MAX_WAVE_PER_PWM
|
||||
// todo: better names?
|
||||
enum class TriggerWheel : uint8_t {
|
||||
T_PRIMARY = 0,
|
||||
T_SECONDARY = 1,
|
||||
};
|
||||
|
||||
#define FOUR_STROKE_ENGINE_CYCLE 720
|
||||
|
||||
#define TRIGGER_GAP_DEVIATION 0.25f
|
||||
|
|
Loading…
Reference in New Issue