From c612169ba80f201ce8a162f683f42c5d65237d72 Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Sun, 23 Oct 2022 13:37:20 -0500 Subject: [PATCH] Fix discovery duplicates for BT devices (#1297) Fix isdisc = true identification, introduced by https://github.com/1technophile/OpenMQTTGateway/commit/25b8123ff6471352951d3def22c815017f5f11e1 --- main/ZgatewayBT.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/ZgatewayBT.ino b/main/ZgatewayBT.ino index 2365b558..040c6f9a 100644 --- a/main/ZgatewayBT.ino +++ b/main/ZgatewayBT.ino @@ -943,8 +943,8 @@ void launchBTDiscovery(bool overrideDiscovery) { } else { Log.trace(F("Device UNKNOWN_MODEL %s" CR), p->macAdr); } - p->isDisc = true; // we don't need the semaphore and all the search magic via createOrUpdateDevice } + p->isDisc = true; // we don't need the semaphore and all the search magic via createOrUpdateDevice } else { Log.trace(F("Device already discovered or that doesn't require discovery %s" CR), p->macAdr); }