safety_honda: reverting change to disallow controls when brake switch is triggered. Such bit appears to have spurious activations, so it will only be considered by controls

This commit is contained in:
Riccardo 2017-08-10 17:28:42 -07:00
parent 61b57685de
commit b3694bfc42
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ static void honda_rx_hook(CAN_FIFOMailBox_TypeDef *to_push) {
// exit controls on brake press
if ((to_push->RIR>>21) == 0x17C) {
// bit 32 or 53
if (to_push->RDHR & 0x200001) {
// bit 53
if (to_push->RDHR & 0x200000) {
controls_allowed = 0;
}
}