Fix discovery duplicates for BT devices (#1297)
Fix isdisc = true identification, introduced by https://github.com/1technophile/OpenMQTTGateway/commit/25b8123ff6471352951d3def22c815017f5f11e1
This commit is contained in:
1 parent
19d58e01e0
commit
c612169ba8
1 file changed
+1
-1
+1
-1
@@ -943,8 +943,8 @@ void launchBTDiscovery(bool overrideDiscovery) {
|
|||||||
} else {
|
} else {
|
||||||
Log.trace(F("Device UNKNOWN_MODEL %s" CR), p->macAdr);
|
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 {
|
} else {
|
||||||
Log.trace(F("Device already discovered or that doesn't require discovery %s" CR), p->macAdr);
|
Log.trace(F("Device already discovered or that doesn't require discovery %s" CR), p->macAdr);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user