only: Civic vss type #5785
This commit is contained in:
parent
6b3c82e80a
commit
a3522bd7ad
|
@ -331,6 +331,9 @@ typedef enum __attribute__ ((__packed__)) {
|
|||
BMW_e46 = 0,
|
||||
W202 = 1,
|
||||
BMW_e90 = 2,
|
||||
NISSAN_350 = 3,
|
||||
HYUNDAI_PB = 4,
|
||||
HONDA_CIVIC9 = 5,
|
||||
} can_vss_nbc_e;
|
||||
|
||||
/**
|
||||
|
|
|
@ -23,6 +23,9 @@ expected<uint16_t> look_up_can_id(can_vss_nbc_e type) {
|
|||
return 0x01F0; /* BMW e46 ABS Message */
|
||||
case BMW_e90:
|
||||
return 0x1A0; // BMW E90 ABS speed frame (not wheel speeds, vehicle speed)
|
||||
case NISSAN_350:
|
||||
case HYUNDAI_PB:
|
||||
case HONDA_CIVIC9:
|
||||
case W202:
|
||||
return 0x0200; /* W202 C180 ABS signal */
|
||||
default:
|
||||
|
|
|
@ -1403,7 +1403,7 @@ tChargeMode_e tChargeMode;
|
|||
pid_s idleRpmPid2
|
||||
|
||||
|
||||
custom can_vss_nbc_e 2 bits, U08, @OFFSET@, [0:1], "BMW_e46", "W202", "BMW E8x/E9x MK60e5"
|
||||
custom can_vss_nbc_e 2 bits, U08, @OFFSET@, [0:1], "BMW_e46", "W202", "BMW E8x/E9x MK60e5", "Nissan 350", "Hyundai PB", "Honda Civic9"
|
||||
can_vss_nbc_e canVssNbcType
|
||||
|
||||
gppwm_channel[GPPWM_CHANNELS iterate] gppwm;
|
||||
|
|
Loading…
Reference in New Issue