mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
BLE: add Teric to list of auto-detected Shearwater computers
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7bd64be45a
commit
428af68e64
1 changed files with 5 additions and 1 deletions
|
@ -29,11 +29,15 @@ 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") || btName.startsWith("Predator")) {
|
||||
if (btName.startsWith("Predator") ||
|
||||
btName.startsWith("Petrel") ||
|
||||
btName.startsWith("Perdix") ||
|
||||
btName.startsWith("Teric")) {
|
||||
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("Teric")) product = "Teric";
|
||||
}
|
||||
|
||||
if (btName.startsWith("EON Steel")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue