mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add the EON Steel as support DC on Android
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d67421c9e6
commit
f5e1df0423
2 changed files with 8 additions and 0 deletions
|
@ -32,6 +32,11 @@ static dc_descriptor_t *getDeviceType(QString btName)
|
||||||
if (btName.startsWith("Perdix")) product = "Perdix";
|
if (btName.startsWith("Perdix")) product = "Perdix";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (btName.startsWith("EON Steel")) {
|
||||||
|
vendor = "Suunto";
|
||||||
|
product = "EON Steel";
|
||||||
|
}
|
||||||
|
|
||||||
if (!vendor.isEmpty() && !product.isEmpty())
|
if (!vendor.isEmpty() && !product.isEmpty())
|
||||||
return(descriptorLookup[vendor + product]);
|
return(descriptorLookup[vendor + product]);
|
||||||
|
|
||||||
|
|
|
@ -61,6 +61,9 @@ static void fill_supported_mobile_list()
|
||||||
{"OSTC 3+"}, {"OSTC 4"}});
|
{"OSTC 3+"}, {"OSTC 4"}});
|
||||||
mobileProductList["Shearwater"] =
|
mobileProductList["Shearwater"] =
|
||||||
QStringList({{"Petrel"}, {"Petrel 2"}, {"Perdix"}});
|
QStringList({{"Petrel"}, {"Petrel 2"}, {"Perdix"}});
|
||||||
|
mobileProductList["Suunto"] =
|
||||||
|
QStringList({"EON Steel"});
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#if defined(Q_OS_IOS)
|
#if defined(Q_OS_IOS)
|
||||||
/* BLE only, Qt does not support classic BT on iOS */
|
/* BLE only, Qt does not support classic BT on iOS */
|
||||||
|
|
Loading…
Add table
Reference in a new issue