diff --git a/src/macsniff.cpp b/src/macsniff.cpp index 764e6555..21f4682e 100644 --- a/src/macsniff.cpp +++ b/src/macsniff.cpp @@ -110,7 +110,7 @@ class MyAdvertisedDeviceCallbacks: public BLEAdvertisedDeviceCallbacks { void BLECount() { ESP_LOGI(TAG, "BLE scan started"); currentScanDevice = 0; // Set 0 seen device on this scan session - //u8x8.clearLine(3); // causes little screen flicker, and seems not needed + //u8x8.clearLine(3); // not needed? u8x8.drawString(0,3,"BLE Scan..."); BLEDevice::init(PROGNAME); BLEScan* pBLEScan = BLEDevice::getScan(); //create new scan @@ -150,6 +150,6 @@ void wifi_sniffer_packet_handler(void* buff, wifi_promiscuous_pkt_type_t type) { } else { ESP_LOGI(TAG, "WiFi RSSI %d -> ignoring (limit: %d)", ppkt->rx_ctrl.rssi, cfg.rssilimit); } - yield(); + //yield(); } diff --git a/src/main.cpp b/src/main.cpp index 0958e5a1..9b75e623 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -274,7 +274,7 @@ void sniffer_loop(void * pvParameters) { snprintf(buff, sizeof(buff), "PAX:%d", (int) macs.size()); // convert 16-bit MAC counter to decimal counter value u8x8.setCursor(0,0); u8x8.draw2x2String(0, 0, buff); // display number on unique macs total Wifi + BLE - u8x8.clearLine(3); + // u8x8.clearLine(3); // not needed? u8x8.setCursor(0,3); // We just state out of BLE scanning if (currentScanDevice) {