Commit e6e4dad9 authored by Pritam Ghanghas's avatar Pritam Ghanghas

fix typo which breaks joystick detection on Android

parent c3734418
......@@ -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);
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