1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

AndroidGCS Controller: Make the default value mode 2

Previously typed "Mode 2" but it wants the integer value for the
default setting.  This stops a crash when no configuration.
This commit is contained in:
James Cotton 2012-08-30 12:13:29 -05:00
parent 6d16f4c0a9
commit 42a11788f9

View File

@ -3,7 +3,7 @@
<PreferenceCategory android:title="Controller Settings">
<ListPreference android:title="Controller Mode"
android:key="controller_type" android:summary="Select whether you want the virtual controller to use mode 1 or mode 2 convention"
android:defaultValue="Mode 1"
android:defaultValue="2"
android:entries="@array/controllerTypeArray"
android:entryValues="@array/controllerTypeValues"/>
</PreferenceCategory>