mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Android: recognize OSTC 2N when plugged in
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9c65e35fa4
commit
b901f9f151
1 changed files with 5 additions and 1 deletions
|
@ -1819,7 +1819,11 @@ void QMLManager::showDownloadPage(QString deviceString)
|
|||
.arg(vendorList.indexOf("Heinrichs Weikamp"))
|
||||
.arg(productList["Heinrichs Weikamp"].indexOf("OSTC 3"))
|
||||
.arg(connectionListModel.indexOf("FTDI"));
|
||||
|
||||
} else if (deviceString.contains("HeinrichsWeikamp OSTC 2N")) {
|
||||
name = QString("%1;%2;%3")
|
||||
.arg(vendorList.indexOf("Heinrichs Weikamp"))
|
||||
.arg(productList["Heinrichs Weikamp"].indexOf("OSTC 2N"))
|
||||
.arg(connectionListModel.indexOf("FTDI"));
|
||||
} else if (deviceString.contains("mManufacturerName=ATOMIC AQUATICS") &&
|
||||
deviceString.contains("mProductName=COBALT")) {
|
||||
if (deviceString.contains("mVersion=2")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue