AnalogController: Set transfer state to idle on reset

This commit is contained in:
Albert Liu 2020-11-25 11:52:36 -08:00
parent fcbd618783
commit a4eb4b9280

View File

@ -22,6 +22,7 @@ ControllerType AnalogController::GetType() const
void AnalogController::Reset() void AnalogController::Reset()
{ {
m_state = State::Idle;
m_analog_mode = false; m_analog_mode = false;
m_configuration_mode = false; m_configuration_mode = false;
m_command_param = 0; m_command_param = 0;