blescan.cpp: bugfix #if (BLECOUNTER)
This commit is contained in:
parent
58a9e61ade
commit
2375489f92
@ -277,12 +277,11 @@ void start_BLEscan(void) {
|
||||
// Register callback function for capturing bluetooth packets
|
||||
register_ble_callback(false);
|
||||
ESP_LOGI(TAG, "Bluetooth scanner started");
|
||||
#endif // BLECOUNTER
|
||||
} else {
|
||||
ESP_LOGE(TAG, "Bluetooth controller start failed. Resetting device");
|
||||
do_reset(true);
|
||||
}
|
||||
|
||||
#endif // BLECOUNTER
|
||||
} // start_BLEscan
|
||||
|
||||
void stop_BLEscan(void) {
|
||||
|
Loading…
Reference in New Issue
Block a user