mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
BT OSTC 3 should be reported as OSTC Plus
Report BT/BLE capable OSTC 3/3+ as OSTC PLus as it is required to get a functional download. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
parent
d6010b5155
commit
636505f818
1 changed files with 1 additions and 2 deletions
|
@ -18,8 +18,7 @@ static dc_descriptor_t *getDeviceType(QString btName)
|
|||
|
||||
if (btName.startsWith("OSTC")) {
|
||||
vendor = "Heinrichs Weikamp";
|
||||
if (btName.mid(4,2) == "3#") product = "OSTC 3";
|
||||
else if (btName.mid(4,2) == "3+") product = "OSTC 3+";
|
||||
if (btName.mid(4,1) == "3") product = "OSTC Plus";
|
||||
else if (btName.mid(4,2) == "s#") product = "OSTC Sport";
|
||||
else if (btName.mid(4,2) == "s ") product = "OSTC Sport";
|
||||
else if (btName.mid(4,2) == "4-") product = "OSTC 4";
|
||||
|
|
Loading…
Add table
Reference in a new issue