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 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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user