From 9590709e8c379e5d8b62b426cf4d5b1d59aa8b84 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 16 May 2019 14:44:26 -0700 Subject: [PATCH] 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 --- core/btdiscovery.cpp | 5 +++++ libdivecomputer | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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"; diff --git a/libdivecomputer b/libdivecomputer index 92cf2f8fa..119458559 160000 --- a/libdivecomputer +++ b/libdivecomputer @@ -1 +1 @@ -Subproject commit 92cf2f8fa1c100ee95edb3efa78843e0f5b8a921 +Subproject commit 1194585595f7a26f3ec7f96b5ad6e8f689a70258