From 098f47a5b4c3b8a593ba4407c494684c9fe8ba31 Mon Sep 17 00:00:00 2001 From: Andre Volmensky Date: Sun, 31 May 2020 08:43:53 +0900 Subject: [PATCH] Fix leaf brake rx check (#547) --- board/safety/safety_nissan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/safety/safety_nissan.h b/board/safety/safety_nissan.h index ec0bcaaaefc8d0..6579e1c4d3db24 100644 --- a/board/safety/safety_nissan.h +++ b/board/safety/safety_nissan.h @@ -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]);