blescan.cpp: bugfix include

This commit is contained in:
Klaus K Wilting 2019-01-20 22:39:56 +01:00
parent 0cbe2b7b67
commit a0c5bb5086
2 changed files with 2 additions and 6 deletions

View File

@ -6,7 +6,7 @@
; ---> SELECT TARGET PLATFORM HERE! <--- ; ---> SELECT TARGET PLATFORM HERE! <---
[platformio] [platformio]
env_default = generic ;env_default = generic
;env_default = ebox ;env_default = ebox
;env_default = eboxtube ;env_default = eboxtube
;env_default = heltec ;env_default = heltec
@ -16,7 +16,7 @@ env_default = generic
;env_default = ttgov21old ;env_default = ttgov21old
;env_default = ttgov21new ;env_default = ttgov21new
;env_default = ttgobeam ;env_default = ttgobeam
;env_default = ttgofox env_default = ttgofox
;env_default = lopy ;env_default = lopy
;env_default = lopy4 ;env_default = lopy4
;env_default = fipy ;env_default = fipy

View File

@ -1,5 +1,3 @@
#ifdef BLECOUNTER
/* code snippets taken from /* code snippets taken from
https://github.com/nkolban/esp32-snippets/tree/master/BLE/scanner https://github.com/nkolban/esp32-snippets/tree/master/BLE/scanner
*/ */
@ -244,8 +242,6 @@ esp_err_t register_ble_callback(void) {
} // register_ble_callback } // register_ble_callback
#endif // BLECOUNTER
void start_BLEscan(void) { void start_BLEscan(void) {
#ifdef BLECOUNTER #ifdef BLECOUNTER
ESP_LOGI(TAG, "Initializing bluetooth scanner ..."); ESP_LOGI(TAG, "Initializing bluetooth scanner ...");