diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-25 11:57:35 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-06-25 12:56:12 -0700 |
commit | ac533a64334e6cfbc9008ac2f678b0cf88d60a2c (patch) | |
tree | 7c663a58c5631179a702f3fe819968094407d05f /core | |
parent | 68b651e494de6e6049b970ea2fa4228f012c3eca (diff) | |
download | subsurface-ac533a64334e6cfbc9008ac2f678b0cf88d60a2c.tar.gz |
Add support for the Oceans S1 and McLean Extreme
This updates libdivecomputer to support the Oceans S1 and McLean Extreme
divecomputers.
It also adds the Oceans S1 to the list of dive computers we reconize by
bluetooth name.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/btdiscovery.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp index 909c55b23..a90c83520 100644 --- a/core/btdiscovery.cpp +++ b/core/btdiscovery.cpp @@ -107,6 +107,9 @@ static dc_descriptor_t *getDeviceType(QString btName) } else if (btName == "COSMIQ") { vendor = "Deepblu"; product = "Cosmiq+"; + } else if (btName.startsWith("S1")) { + vendor = "Oceans"; + product = "S1"; } // check if we found a known dive computer |