From d7eedd49bfb4496f3e6a37e99a868b58f3256dca Mon Sep 17 00:00:00 2001 From: BlueAndi Date: Sun, 30 Jun 2024 00:14:20 +0200 Subject: [PATCH] Fix usage of wrong button. --- lib/APPCalib/src/ReadyState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/APPCalib/src/ReadyState.cpp b/lib/APPCalib/src/ReadyState.cpp index ede593ab..538bf09d 100644 --- a/lib/APPCalib/src/ReadyState.cpp +++ b/lib/APPCalib/src/ReadyState.cpp @@ -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);