Skip to content

Commit

Permalink
forgot to specify bus (fuzzy test caught it, but whitelisting rx addrs
Browse files Browse the repository at this point in the history
would so much quicker)
  • Loading branch information
sshane committed Nov 25, 2023
1 parent 6786fec commit 7dcf43e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions board/safety/safety_honda.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ const LongitudinalLimits HONDA_NIDEC_LONG_LIMITS = {
{.msg = {{0x158, (pt_bus), 8, .check_checksum = true, .max_counter = 3U, .expected_timestep = 10000U}, { 0 }, { 0 }}}, /* ENGINE_DATA */ \
{.msg = {{0x17C, (pt_bus), 8, .check_checksum = true, .max_counter = 3U, .expected_timestep = 10000U}, { 0 }, { 0 }}}, /* POWERTRAIN_DATA */ \

#define HONDA_COMMON_RX_CHECKS(pt_bus) \
HONDA_COMMON_NO_SCM_FEEDBACK_RX_CHECKS(pt_bus) \
{.msg = {{0x326, 0, 8, .check_checksum = true, .max_counter = 3U, .expected_timestep = 100000U}, { 0 }, { 0 }}}, /* SCM_FEEDBACK */ \
#define HONDA_COMMON_RX_CHECKS(pt_bus) \
HONDA_COMMON_NO_SCM_FEEDBACK_RX_CHECKS(pt_bus) \
{.msg = {{0x326, (pt_bus), 8, .check_checksum = true, .max_counter = 3U, .expected_timestep = 100000U}, { 0 }, { 0 }}}, /* SCM_FEEDBACK */ \

// Alternate brake message is used on some Honda Bosch, and Honda Bosch radarless (where PT bus is 0)
#define HONDA_ALT_BRAKE_ADDR_CHECK(pt_bus) \
Expand Down

0 comments on commit 7dcf43e

Please sign in to comment.