path: root/apps/settings.h
diff options
authorUdo Schläpfer <>2015-01-21 20:51:36 +0100
committerUdo Schläpfer <>2015-02-02 22:43:46 +0100
commit95fdad5e2827685160a5a669c3e8b4dc783995ad (patch)
tree14719a6459ededf8f746ccda965501a37c4f55e4 /apps/settings.h
parent040306a71663d98f1ca568b61010ee125d1e6501 (diff)
iBasso DX50/DX90: User selectable USB mode.
Depends on This patch adds a new setting in Settings -> General -> System: USB Mode. Usable in Quickscreen and Shortcuts. Possible settings are: - Mass Storage: The default, on USB connect export the internal and external drives as usual. Rockbox will exit gracefully in this case, since the internal drive (/mnt/sdcard) is exported as mass storage device and Android prevents Rockbox from continued execution. - Charge Only: USB charge only, do not export the internal and external drives. This will not close Rockbox. - ADB: Enable the Android Debug Bridge. This will not close Rockbox. Charge only and ADB are actually the same, since it is not yet established if charge only is doable without adb and major hooks into Android. German translation provided. This may be genric for Android based devices but is only enabled for iBasso Devices. Other maintainers may choose do adopt this. Change-Id: I616247c29946c6595ebcf8f0c14b2410c9f0498b
Diffstat (limited to 'apps/settings.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 5d25dc7ab0..ec2d1007eb 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -853,6 +853,7 @@ struct user_settings
#if defined(DX50) || defined(DX90)
int governor;
+ int usb_mode;