From 7dcf43e6b7311ab2873768b29e6027e7fe30261f Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 22 Nov 2023 01:30:30 -0800 Subject: [PATCH] forgot to specify bus (fuzzy test caught it, but whitelisting rx addrs would so much quicker) --- board/safety/safety_honda.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/safety/safety_honda.h b/board/safety/safety_honda.h index 845cf43afd..30215c0252 100644 --- a/board/safety/safety_honda.h +++ b/board/safety/safety_honda.h @@ -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) \