From 684824dd6ce291808016c890e6ed14fdb84968e7 Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Sun, 23 Oct 2022 11:00:36 -0500 Subject: [PATCH] Fix discovery duplicates for BT devices 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 2365b55878..040c6f9afe 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); }