Commit 2cbd1bda authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #5770 from pritamghanghas/Stable_V3.2

fix typo which breaks joystick detection on Android
parents 833b5e21 e6e4dad9
......@@ -73,7 +73,7 @@ void JoystickManager::_setActiveJoystickFromSettings(void)
// Get the latest joystick mapping
newMap = JoystickSDL::discover(_multiVehicleManager);
#elif defined(__android__)
_name2JoystickMap = JoystickAndroid::discover(_multiVehicleManager);
newMap = JoystickAndroid::discover(_multiVehicleManager);
#endif
if (_activeJoystick && !newMap.contains(_activeJoystick->name())) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment