Skip to content

Commit

Permalink
Fix usage of wrong button.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueAndi committed Jun 29, 2024
1 parent 25ef0bf commit d7eedd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/APPCalib/src/ReadyState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void ReadyState::process(StateMachine& sm)
}

/* Turn left? */
if (true == Util::isButtonTriggered(buttonA, m_isButtonBPressed))
if (true == Util::isButtonTriggered(buttonB, m_isButtonBPressed))
{
DrivingState::getInstance().setCmd(DrivingState::DRIVING_CMD_TURN_LEFT);

Expand Down

0 comments on commit d7eedd4

Please sign in to comment.