We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07d249a commit c928892Copy full SHA for c928892
1 file changed
src/utility/GAP.cpp
@@ -222,7 +222,6 @@ void GAPClass::handleLeAdvertisingReport(uint8_t type, uint8_t addressType, uint
222
223
if (discoveredDevice == NULL) {
224
if (_discoveredDevices.size() >= GAP_MAX_DISCOVERED_QUEUE_SIZE) {
225
- // delete data in first list posistion
226
BLEDevice* device_first = _discoveredDevices.remove(0);
227
if (device_first != NULL) {
228
delete device_first;
0 commit comments