Skip to content

Commit

Permalink
Add TOYOTA_COMMON_LONG_TX_MSGS to SECOC version
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispypatt committed Oct 18, 2024
1 parent 056f95b commit 65ef827
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions board/safety/safety_toyota.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}}, \
Expand Down

0 comments on commit 65ef827

Please sign in to comment.