macsniff.cpp: reduced screen flicker

This commit is contained in:
Klaus K Wilting 2018-04-05 22:11:32 +02:00
parent 018c78ba29
commit f435d44981

View File

@ -110,7 +110,7 @@ class MyAdvertisedDeviceCallbacks: public BLEAdvertisedDeviceCallbacks {
void BLECount() { void BLECount() {
ESP_LOGI(TAG, "BLE scan started"); ESP_LOGI(TAG, "BLE scan started");
currentScanDevice = 0; // Set 0 seen device on this scan session currentScanDevice = 0; // Set 0 seen device on this scan session
u8x8.clearLine(3); //u8x8.clearLine(3); // causes little screen flicker, and seems not needed
u8x8.drawString(0,3,"BLE Scan..."); u8x8.drawString(0,3,"BLE Scan...");
BLEDevice::init(PROGNAME); BLEDevice::init(PROGNAME);
BLEScan* pBLEScan = BLEDevice::getScan(); //create new scan BLEScan* pBLEScan = BLEDevice::getScan(); //create new scan