diff options
author | Christof Arnosti <charno@charno.ch> | 2020-03-05 22:39:11 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-07 12:34:43 -0800 |
commit | 6ffb1e3129a95ad30c2a1951373b1001db930ed6 (patch) | |
tree | 7500786a2c66fc1a870d96a5ba523384aa5e7808 /core | |
parent | 33643bb0af0729f79b28cc0398d6990a6537f810 (diff) | |
download | subsurface-6ffb1e3129a95ad30c2a1951373b1001db930ed6.tar.gz |
serial-usb-for-android: Display all Serial computers
Signed-off-by: Christof Arnosti <charno@charno.ch>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/downloadfromdcthread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp index 34f1eb748..edaa7fd42 100644 --- a/core/downloadfromdcthread.cpp +++ b/core/downloadfromdcthread.cpp @@ -180,8 +180,8 @@ void fill_computer_list() const char *vendor = dc_descriptor_get_vendor(descriptor); const char *product = dc_descriptor_get_product(descriptor); #if defined(Q_OS_ANDROID) - if ((transports & ~(DC_TRANSPORT_SERIAL | DC_TRANSPORT_USB | DC_TRANSPORT_USBHID)) == 0) - // if the only available transports are serial/USB, then check against + if ((transports & ~(DC_TRANSPORT_USB | DC_TRANSPORT_USBHID)) == 0) + // if the only available transports are USB, then check against // the ones that we explicitly support on Android if (!mobileProductList.contains(vendor) || !mobileProductList[vendor].contains(product)) continue; |