blescan.cpp: bugfix #if (BLECOUNTER)

This commit is contained in:
cyberman54 2021-01-03 00:15:36 +01:00
parent 58a9e61ade
commit 2375489f92

View File

@ -277,12 +277,11 @@ void start_BLEscan(void) {
// Register callback function for capturing bluetooth packets // Register callback function for capturing bluetooth packets
register_ble_callback(false); register_ble_callback(false);
ESP_LOGI(TAG, "Bluetooth scanner started"); ESP_LOGI(TAG, "Bluetooth scanner started");
#endif // BLECOUNTER
} else { } else {
ESP_LOGE(TAG, "Bluetooth controller start failed. Resetting device"); ESP_LOGE(TAG, "Bluetooth controller start failed. Resetting device");
do_reset(true); do_reset(true);
} }
#endif // BLECOUNTER
} // start_BLEscan } // start_BLEscan
void stop_BLEscan(void) { void stop_BLEscan(void) {