Fix leaf brake rx check (#547)

This commit is contained in:
Andre Volmensky 2020-05-31 08:43:53 +09:00 committed by GitHub
parent b8267341a1
commit 098f47a5b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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]);