From a4eb4b92805be63484864485ca07a38dbf1084d3 Mon Sep 17 00:00:00 2001 From: Albert Liu <45282415+ggrtk@users.noreply.github.com> Date: Wed, 25 Nov 2020 11:52:36 -0800 Subject: [PATCH] AnalogController: Set transfer state to idle on reset --- src/core/analog_controller.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/analog_controller.cpp b/src/core/analog_controller.cpp index 6e614b4e7..38a3d760c 100644 --- a/src/core/analog_controller.cpp +++ b/src/core/analog_controller.cpp @@ -22,6 +22,7 @@ ControllerType AnalogController::GetType() const void AnalogController::Reset() { + m_state = State::Idle; m_analog_mode = false; m_configuration_mode = false; m_command_param = 0;