8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7018cd1 commit 610e30cCopy full SHA for 610e30c
libraries/BLE/examples/Scan/Scan.ino
@@ -31,9 +31,9 @@ void setup() {
31
32
void loop() {
33
// put your main code here, to run repeatedly:
34
- BLEScanResults *foundDevices = pBLEScan->start(scanTime, false);
+ BLEScanResults foundDevices = pBLEScan->start(scanTime, false);
35
Serial.print("Devices found: ");
36
- Serial.println(foundDevices->getCount());
+ Serial.println(foundDevices.getCount());
37
Serial.println("Scan done!");
38
pBLEScan->clearResults(); // delete results fromBLEScan buffer to release memory
39
delay(2000);
0 commit comments