From 805a2388aff52ff900c9311b444d6dc127b3c54f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 28 Jan 2021 12:49:39 -0800 Subject: 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 Signed-off-by: Dirk Hohndel --- core/btdiscovery.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'core') 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" }, -- cgit v1.2.3-70-g09d2