Skip to content

Commit

Permalink
Fix leaf brake rx check (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
avolmensky committed May 30, 2020
1 parent b826734 commit 098f47a
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 @@ -20,7 +20,7 @@ AddrCheckStruct nissan_rx_checks[] = {
{.msg = {{0x15c, 0, 8, .expected_timestep = 20000U},
{0x239, 0, 8, .expected_timestep = 20000U}}}, // GAS_PEDAL (100Hz / 50Hz)
{.msg = {{0x454, 0, 8, .expected_timestep = 100000U},
{0x1cc, 0, 8, .expected_timestep = 100000U}}}, // DOORS_LIGHTS (10Hz) / BRAKE (100Hz)
{0x1cc, 0, 4, .expected_timestep = 10000U}}}, // DOORS_LIGHTS (10Hz) / BRAKE (100Hz)
};
const int NISSAN_RX_CHECK_LEN = sizeof(nissan_rx_checks) / sizeof(nissan_rx_checks[0]);

Expand Down

0 comments on commit 098f47a

Please sign in to comment.