BT Discovery: add Shearwater Petrel and Perdix
Add Shearwater Petrel and Perdix to automatic detection Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
be8f20dda6
commit
8cd711f8e2
@ -26,6 +26,12 @@ 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")) {
|
||||
vendor = "Shearwater";
|
||||
if (btName.startsWith("Petrel")) product = "Petrel"; // or petrel 2?
|
||||
if (btName.startsWith("Perdix")) product = "Perdix";
|
||||
}
|
||||
|
||||
if (!vendor.isEmpty() && !product.isEmpty())
|
||||
return(descriptorLookup[vendor + product]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user