Fix discovery duplicates for BT devices (#1297)

Fix isdisc = true identification, introduced by 25b8123ff6
This commit is contained in:
Florian
2022-10-23 13:37:20 -05:00
committed by GitHub
parent 19d58e01e0
commit c612169ba8

View File

@@ -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);
}