Skip to content

Commit

Permalink
Support cruise standstill resume with ALT_BUTTONS.
Browse files Browse the repository at this point in the history
  • Loading branch information
ccdunder committed Dec 16, 2024
1 parent 0401f64 commit fee76dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions board/safety/safety_hyundai_canfd.h
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,14 @@ static safety_config hyundai_canfd_init(uint16_t param) {
static const CanMsg HYUNDAI_CANFD_HDA2_TX_MSGS[] = {
{0x50, 0, 16}, // LKAS
{0x1CF, 1, 8}, // CRUISE_BUTTON
{0x1AA, 1, 16}, // CRUISE_BUTTONS_ALT
{0x2A4, 0, 24}, // CAM_0x2A4
};

static const CanMsg HYUNDAI_CANFD_HDA2_ALT_STEERING_TX_MSGS[] = {
{0x110, 0, 32}, // LKAS_ALT
{0x1CF, 1, 8}, // CRUISE_BUTTON
{0x1AA, 1, 16}, // CRUISE_BUTTONS_ALT
// Needed for cruise control in case of ALT_BUTTONS.
{0x1A0, 1, 32}, // CRUISE_INFO
{0x362, 0, 32}, // CAM_0x362
Expand Down

0 comments on commit fee76dc

Please sign in to comment.