Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou jielei committed Dec 16, 2024
1 parent f2ba5ec commit 5420e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/safety/safety_honda.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static void honda_rx_hook(const CANPacket_t *to_push) {
}

// exit controls once main or cancel are pressed
if (((button == HONDA_BTN_MAIN) || (button == HONDA_BTN_CANCEL)) && (cruise_button_prev != button)) {
if ((button == HONDA_BTN_MAIN) || (button == HONDA_BTN_CANCEL)) {
controls_allowed = false;
}
cruise_button_prev = button;
Expand Down

0 comments on commit 5420e62

Please sign in to comment.