Skip to content

Commit

Permalink
Revert "forward buttons to camera"
Browse files Browse the repository at this point in the history
This reverts commit 62f3a60.
  • Loading branch information
gregjhogan committed Jan 19, 2024
1 parent 62f3a60 commit ea499c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion board/safety/safety_chrysler.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,8 @@ static int chrysler_fwd_hook(int bus_num, int addr) {
int bus_fwd = -1;

// forward to camera
if (bus_num == 0) {
const bool is_buttons = (addr == chrysler_addrs->CRUISE_BUTTONS);
if ((bus_num == 0) && !(chrysler_longitudinal && is_buttons)) {
bus_fwd = 2;
}

Expand Down

0 comments on commit ea499c0

Please sign in to comment.