mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
serial-usb-for-android: Display all Serial computers
Signed-off-by: Christof Arnosti <charno@charno.ch> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
33643bb0af
commit
6ffb1e3129
1 changed files with 2 additions and 2 deletions
|
@ -180,8 +180,8 @@ void fill_computer_list()
|
||||||
const char *vendor = dc_descriptor_get_vendor(descriptor);
|
const char *vendor = dc_descriptor_get_vendor(descriptor);
|
||||||
const char *product = dc_descriptor_get_product(descriptor);
|
const char *product = dc_descriptor_get_product(descriptor);
|
||||||
#if defined(Q_OS_ANDROID)
|
#if defined(Q_OS_ANDROID)
|
||||||
if ((transports & ~(DC_TRANSPORT_SERIAL | DC_TRANSPORT_USB | DC_TRANSPORT_USBHID)) == 0)
|
if ((transports & ~(DC_TRANSPORT_USB | DC_TRANSPORT_USBHID)) == 0)
|
||||||
// if the only available transports are serial/USB, then check against
|
// if the only available transports are USB, then check against
|
||||||
// the ones that we explicitly support on Android
|
// the ones that we explicitly support on Android
|
||||||
if (!mobileProductList.contains(vendor) || !mobileProductList[vendor].contains(product))
|
if (!mobileProductList.contains(vendor) || !mobileProductList[vendor].contains(product))
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue