diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-05-25 00:43:19 +0100 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2022-06-21 18:11:53 -0400 |
commit | 7e0492444c38f2ed350016be15b6a4d8ba489bcd (patch) | |
tree | f7fe53822d1ff95595c33b6c8964fd87dd17d6af /firmware/export/usb.h | |
parent | 6cdd142d5c841eedb6a900cd50ee5f526f933eec (diff) | |
download | rockbox-7e0492444c38f2ed350016be15b6a4d8ba489bcd.tar.gz rockbox-7e0492444c38f2ed350016be15b6a4d8ba489bcd.zip |
usb: remove "Ask" USB Mode (FS#13317)
USB ask mode is basically a footgun: it can't work on native targets
and doesn't work reliably on hosted ones, and it continually produces
a slow trickle of problems. FS#13317 gives a rundown of the issues.
Removing the setting seems like the best solution for now, since a fix
would be pretty involved.
This partially reverts 60f581e8f5. The USB Mode setting is left in
place so the option can be added back later in a non-buggy way.
Change-Id: Ie01b28dd2ed95a31b509a7834d85bac8eb866098
Diffstat (limited to 'firmware/export/usb.h')
-rw-r--r-- | firmware/export/usb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h index fe9f3bcfa1..c075fa83ec 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h | |||
@@ -134,7 +134,6 @@ enum | |||
134 | /* Supported usb modes. */ | 134 | /* Supported usb modes. */ |
135 | enum | 135 | enum |
136 | { | 136 | { |
137 | USB_MODE_ASK = 0, | ||
138 | USB_MODE_MASS_STORAGE, | 137 | USB_MODE_MASS_STORAGE, |
139 | USB_MODE_CHARGE, | 138 | USB_MODE_CHARGE, |
140 | USB_MODE_ADB | 139 | USB_MODE_ADB |