Skip to content

Commit

Permalink
Kickdown as acc pedal
Browse files Browse the repository at this point in the history
  • Loading branch information
dzid26 committed Sep 22, 2024
1 parent 34215e7 commit e1c90f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/safety/safety_bmw.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ static void bmw_rx_hook(const CANPacket_t *to_push) {
}

if (addr == BMW_AccPedal) {
gas_pressed = (GET_BYTE(to_push, 6) & 0x10U) != 0U;
gas_pressed = (GET_BYTE(to_push, 6) & 0x30U) != 0U;
}

generic_rx_checks(false);
Expand Down

0 comments on commit e1c90f3

Please sign in to comment.