mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add detection of the Shearwater Predator via BT
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9beb445d44
commit
cec3c256e7
1 changed files with 2 additions and 1 deletions
|
@ -68,10 +68,11 @@ static dc_descriptor_t *getDeviceType(QString btName)
|
|||
else product = "OSTC 3"; // all OSTCs are HW_FAMILY_OSTC_3
|
||||
}
|
||||
|
||||
if (btName.startsWith("Petrel") || btName.startsWith("Perdix")) {
|
||||
if (btName.startsWith("Petrel") || btName.startsWith("Perdix") || btName.startsWith("Predator")) {
|
||||
vendor = "Shearwater";
|
||||
if (btName.startsWith("Petrel")) product = "Petrel"; // or petrel 2?
|
||||
if (btName.startsWith("Perdix")) product = "Perdix";
|
||||
if (btName.startsWith("Predator")) product = "Predator";
|
||||
}
|
||||
|
||||
if (btName.startsWith("EON Steel")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue