summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2019-05-16 14:44:26 -0700
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2019-05-17 09:42:05 +0200
commit9590709e8c379e5d8b62b426cf4d5b1d59aa8b84 (patch)
treeded4e89167e0947fa194f8257db70f5ed19e9964 /core
parent2feedf46fa86c19095a9f302d1d7a44d3416384d (diff)
downloadsubsurface-9590709e8c379e5d8b62b426cf4d5b1d59aa8b84.tar.gz
Add support for the new Suunto D5
This is just a trivial update to recognize the BT name, and a libdivecomputer submodule update to get the updates to libdivecomputer to recognize the new USB IDs etc. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'core')
-rw-r--r--core/btdiscovery.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp
index c057abd8b..20dda1a39 100644
--- a/core/btdiscovery.cpp
+++ b/core/btdiscovery.cpp
@@ -56,6 +56,11 @@ static dc_descriptor_t *getDeviceType(QString btName)
product = "EON Core";
}
+ if (btName.startsWith("Suunto D5")) {
+ vendor = "Suunto";
+ product = "D5";
+ }
+
if (btName.startsWith("G2") || btName.startsWith("Aladin") || btName.startsWith("HUD")) {
vendor = "Scubapro";
if (btName.startsWith("G2")) product = "G2";