Skip to content

Commit

Permalink
fixed bug in resetDevices
Browse files Browse the repository at this point in the history
  • Loading branch information
doudar committed Mar 20, 2024
1 parent 571febd commit 69d80ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BLE_Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ void SpinBLEClient::removeDuplicates(NimBLEClient *pClient) {
void SpinBLEClient::resetDevices(NimBLEClient *pClient) {
for (auto &_BLEd : spinBLEClient.myBLEDevices) {
if (pClient->getPeerAddress() == _BLEd.peerAddress) {
SS2K_LOGW(BLE_CLIENT_LOG_TAG, "Reset Client Slot: %d", i);
SS2K_LOGW(BLE_CLIENT_LOG_TAG, "Reset Client: %s", _BLEd.peerAddress.toString().c_str());
_BLEd.reset();
}
}
Expand Down

0 comments on commit 69d80ec

Please sign in to comment.