summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-28 12:49:39 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-28 12:51:19 -0800
commit805a2388aff52ff900c9311b444d6dc127b3c54f (patch)
tree39d41884b1d1314dd6228017448276c9fac8be92 /core
parenta6cfd181e89d67313532aeb8b5abbdc5540b43a6 (diff)
downloadsubsurface-805a2388aff52ff900c9311b444d6dc127b3c54f.tar.gz
core/BT: fix duplicate entries in BT detection
Somehow three identical lines snuck into commit 0a4e37ee8b ("core/BT: simplify detection of bluetooth names"). Reported-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r--core/btdiscovery.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp
index 1d8d108d3..0037aba66 100644
--- a/core/btdiscovery.cpp
+++ b/core/btdiscovery.cpp
@@ -55,8 +55,6 @@ static struct namePattern name[] = {
{ "NERD 2", "Shearwater", "NERD 2" },
{ "NERD", "Shearwater", "NERD" }, // order is important, test for the more specific one first
{ "Predator", "Shearwater", "Predator" },
- { "Predator", "Shearwater", "Predator" },
- { "Predator", "Shearwater", "Predator" },
// Suunto dive computers
{ "EON Steel", "Suunto", "EON Steel" },
{ "EON Core", "Suunto", "EON Core" },