Skip to content

Commit

Permalink
Fix discovery duplicates for BT devices (#1297)
Browse files Browse the repository at this point in the history
Fix isdisc = true identification, introduced by 25b8123
  • Loading branch information
1technophile authored Oct 23, 2022
1 parent 19d58e0 commit c612169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/ZgatewayBT.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit c612169

Please sign in to comment.