mirror of https://github.com/commaai/panda.git
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:
parent
61b57685de
commit
b3694bfc42
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue