Changeset 8cd711f in subsurface


Ignore:
Timestamp:
Jun 12, 2017, 7:12:40 PM (12 days ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
fb2638b3
Parents:
be8f20d
git-author:
Jan Mulder <jlmulder@…> (06/12/17 11:29:19)
git-committer:
Dirk Hohndel <dirk@…> (06/12/17 19:12:40)
Message:

BT Discovery: add Shearwater Petrel and Perdix

Add Shearwater Petrel and Perdix to automatic detection

Signed-off-by: Jan Mulder <jlmulder@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/btdiscovery.cpp

    r23df593 r8cd711f  
    2525                // just try this
    2626                else product = "OSTC 3"; // all OSTCs are HW_FAMILY_OSTC_3
     27        }
     28
     29        if (btName.startsWith("Petrel") || btName.startsWith("Perdix")) {
     30                vendor = "Shearwater";
     31                if (btName.startsWith("Petrel")) product = "Petrel"; // or petrel 2?
     32                if (btName.startsWith("Perdix")) product = "Perdix";
    2733        }
    2834
Note: See TracChangeset for help on using the changeset viewer.