mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
BT discovery: detect Scubapro G2
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6451adfec1
commit
7199ad33e2
1 changed files with 5 additions and 0 deletions
|
@ -37,6 +37,11 @@ static dc_descriptor_t *getDeviceType(QString btName)
|
|||
product = "EON Steel";
|
||||
}
|
||||
|
||||
if (btName.startsWith("G2")) {
|
||||
vendor = "Scubapro";
|
||||
product = "G2";
|
||||
}
|
||||
|
||||
if (!vendor.isEmpty() && !product.isEmpty())
|
||||
return(descriptorLookup[vendor + product]);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue