summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2013-09-16 22:05:43 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2013-09-18 23:37:39 +0200
commitf3b56eba58780df99a00646aaf9064761cb46635 (patch)
treedafb4137c48dc30228522110d9c46bf5cbbeda1f /firmware/target
parent935c7fbff741349b4ecebda212a870a31c8cb97d (diff)
downloadrockbox-f3b56eba58780df99a00646aaf9064761cb46635.tar.gz
rockbox-f3b56eba58780df99a00646aaf9064761cb46635.zip
Handle multiple devices with identical USB IDs correctly when listing.
Use insertMulti() instead of insert() when adding found USB devices to the list. This means the keys of the list will now be ambiguous. This is not a problem since the value is only used to display the user a nice string. Previously we'd loose two identical devices attached to the system since the second one would overwrite the first. This does not apply for Windows, since Windows will list each function of a composite device. This results in a device running Rockbox (with HID enabled) showing up twice, which isn't wanted. Change-Id: I1306b71122a210c55871ff8e14d2b5a04012cc4e
Diffstat (limited to 'firmware/target')
0 files changed, 0 insertions, 0 deletions