mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-02 23:20:20 +00:00
Support for Scubapro G2 HUD discovery via bluetooth
Signed-off-by: William M Perry <wmperry@gmail.com>
This commit is contained in:
parent
263c87b1cc
commit
9bb7bbef84
1 changed files with 2 additions and 1 deletions
|
@ -56,9 +56,10 @@ static dc_descriptor_t *getDeviceType(QString btName)
|
||||||
product = "EON Core";
|
product = "EON Core";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (btName.startsWith("G2") || btName.startsWith("Aladin")) {
|
if (btName.startsWith("G2") || btName.startsWith("Aladin") || btName.startsWith("HUD")) {
|
||||||
vendor = "Scubapro";
|
vendor = "Scubapro";
|
||||||
if (btName.startsWith("G2")) product = "G2";
|
if (btName.startsWith("G2")) product = "G2";
|
||||||
|
if (btName.startsWith("HUD")) product = "G2 HUD";
|
||||||
if (btName.startsWith("Aladin")) product = "Aladin Sport Matrix";
|
if (btName.startsWith("Aladin")) product = "Aladin Sport Matrix";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue