Skip to content

Commit

Permalink
Fix length of 0x20b in NISSAN_TX_MSGS, wasn't cancelling ACC (commaai…
Browse files Browse the repository at this point in the history
  • Loading branch information
avolmensky authored May 27, 2020
1 parent b48c74c commit bdec139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/safety/safety_nissan.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const struct lookup_t NISSAN_LOOKUP_ANGLE_RATE_DOWN = {

const int NISSAN_DEG_TO_CAN = 100;

const CanMsg NISSAN_TX_MSGS[] = {{0x169, 0, 8}, {0x2b1, 0, 8}, {0x4cc, 0, 8}, {0x20b, 2, 8}, {0x280, 2, 8}};
const CanMsg NISSAN_TX_MSGS[] = {{0x169, 0, 8}, {0x2b1, 0, 8}, {0x4cc, 0, 8}, {0x20b, 2, 6}, {0x280, 2, 8}};

AddrCheckStruct nissan_rx_checks[] = {
{.msg = {{0x2, 0, 5, .expected_timestep = 10000U}}}, // STEER_ANGLE_SENSOR (100Hz)
Expand Down

0 comments on commit bdec139

Please sign in to comment.