Native SENT TPS input #5079

This commit is contained in:
rusefillc 2023-02-20 11:50:59 -05:00
parent 8df963882a
commit beb62d146d
2 changed files with 4 additions and 3 deletions

View File

@ -168,8 +168,9 @@ typedef enum __attribute__ ((__packed__)) {
} idle_mode_e;
enum class SentEtbType : uint8_t {
GM_TYPE_1 = 0,
FORD_TYPE_1 = 1,
NONE = 0,
GM_TYPE_1 = 1,
FORD_TYPE_1 = 2,
};
typedef enum __attribute__ ((__packed__)) {

View File

@ -297,7 +297,7 @@ end_struct
#define ego_sensor_e_enum "BPSX", "Innovate", "14Point7", "Narrow", "PLX", "Custom"
custom ego_sensor_e 1 bits, S08, @OFFSET@, [0:2], @@ego_sensor_e_enum@@
#define SentEtbType_enum "GM type 1", "Ford type 1"
#define SentEtbType_enum "None", ""GM type 1", "Ford type 1"
custom SentEtbType 1 bits, S08, @OFFSET@, [0:1], @@SentEtbType_enum@@
struct cranking_parameters_s