8000 Update Scan.ino · espressif/arduino-esp32@610e30c · GitHub
[go: up one dir, main page]

Skip to content

Commit 610e30c

Browse files
authored
Update Scan.ino
1 parent 7018cd1 commit 610e30c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/BLE/examples/Scan/Scan.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ void setup() {
3131

3232
void loop() {
3333
// put your main code here, to run repeatedly:
34-
BLEScanResults *foundDevices = pBLEScan->start(scanTime, false);
34+
BLEScanResults foundDevices = pBLEScan->start(scanTime, false);
3535
Serial.print("Devices found: ");
36-
Serial.println(foundDevices->getCount());
36+
Serial.println(foundDevices.getCount());
3737
Serial.println("Scan done!");
3838
pBLEScan->clearResults(); // delete results fromBLEScan buffer to release memory
3939
delay(2000);

0 commit comments

Comments
 (0)
0