From a0c5bb5086c5fe4771ac0003d2138279820fe8b1 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sun, 20 Jan 2019 22:39:56 +0100 Subject: [PATCH] blescan.cpp: bugfix include --- platformio.ini | 4 ++-- src/blecsan.cpp | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/platformio.ini b/platformio.ini index 6eafff31..8fb6b471 100644 --- a/platformio.ini +++ b/platformio.ini @@ -6,7 +6,7 @@ ; ---> SELECT TARGET PLATFORM HERE! <--- [platformio] -env_default = generic +;env_default = generic ;env_default = ebox ;env_default = eboxtube ;env_default = heltec @@ -16,7 +16,7 @@ env_default = generic ;env_default = ttgov21old ;env_default = ttgov21new ;env_default = ttgobeam -;env_default = ttgofox +env_default = ttgofox ;env_default = lopy ;env_default = lopy4 ;env_default = fipy diff --git a/src/blecsan.cpp b/src/blecsan.cpp index c4d10865..0c680254 100644 --- a/src/blecsan.cpp +++ b/src/blecsan.cpp @@ -1,5 +1,3 @@ -#ifdef BLECOUNTER - /* code snippets taken from https://github.com/nkolban/esp32-snippets/tree/master/BLE/scanner */ @@ -244,8 +242,6 @@ esp_err_t register_ble_callback(void) { } // register_ble_callback -#endif // BLECOUNTER - void start_BLEscan(void) { #ifdef BLECOUNTER ESP_LOGI(TAG, "Initializing bluetooth scanner ...");