Skip to content

Commit c928892

Browse files
committed
Update GAP.cpp
Removed comment
1 parent 07d249a commit c928892

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: src/utility/GAP.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ void GAPClass::handleLeAdvertisingReport(uint8_t type, uint8_t addressType, uint
222222

223223
if (discoveredDevice == NULL) {
224224
if (_discoveredDevices.size() >= GAP_MAX_DISCOVERED_QUEUE_SIZE) {
225-
// delete data in first list posistion
226225
BLEDevice* device_first = _discoveredDevices.remove(0);
227226
if (device_first != NULL) {
228227
delete device_first;

0 commit comments

Comments
 (0)