From 563b2f207a2787bbcdd7a886957cd19057fdb972 Mon Sep 17 00:00:00 2001 From: Comma Device Date: Thu, 17 Oct 2024 19:57:43 -0500 Subject: [PATCH] Add TOYOTA_COMMON_LONG_TX_MSGS to SECOC version --- board/safety/safety_toyota.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/board/safety/safety_toyota.h b/board/safety/safety_toyota.h index 2f4cce9ba5..9cec651891 100644 --- a/board/safety/safety_toyota.h +++ b/board/safety/safety_toyota.h @@ -19,12 +19,15 @@ {0x283, 0, 7}, {0x2E6, 0, 8}, {0x2E7, 0, 8}, {0x33E, 0, 7}, {0x344, 0, 8}, {0x365, 0, 7}, {0x366, 0, 7}, {0x4CB, 0, 8}, /* DSU bus 0 */ \ {0x128, 1, 6}, {0x141, 1, 4}, {0x160, 1, 8}, {0x161, 1, 7}, {0x470, 1, 4}, /* DSU bus 1 */ \ {0x411, 0, 8}, /* PCS_HUD */ \ - {0x750, 0, 8}, /* radar diagnostic address */ - -#define TOYOTA_COMMON_LONG_SECOC_TX_MSGS \ - TOYOTA_COMMON_SECOC_TX_MSGS \ - {0x183, 0, 8}, + {0x750, 0, 8}, /* radar diagnostic address */ \ +#define TOYOTA_COMMON_LONG_SECOC_TX_MSGS \ + TOYOTA_COMMON_SECOC_TX_MSGS \ + {0x283, 0, 7}, {0x2E6, 0, 8}, {0x2E7, 0, 8}, {0x33E, 0, 7}, {0x344, 0, 8}, {0x365, 0, 7}, {0x366, 0, 7}, {0x4CB, 0, 8}, /* DSU bus 0 */ \ + {0x128, 1, 6}, {0x141, 1, 4}, {0x160, 1, 8}, {0x161, 1, 7}, {0x470, 1, 4}, /* DSU bus 1 */ \ + {0x411, 0, 8}, /* PCS_HUD */ \ + {0x750, 0, 8}, /* radar diagnostic address */ \ + {0x183, 0, 8}, \ #define TOYOTA_COMMON_RX_CHECKS(lta) \ {.msg = {{ 0xaa, 0, 8, .check_checksum = false, .frequency = 83U}, { 0 }, { 0 }}}, \