From 77dc71ed13bb58355788ee084601a6c96e0a72dd Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sun, 15 Apr 2018 14:06:25 +0200 Subject: [PATCH] blescan.cpp: removed delay in bt_loop task --- platformio.ini | 4 ++-- src/blecsan.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platformio.ini b/platformio.ini index 0d028868..cb04f45b 100644 --- a/platformio.ini +++ b/platformio.ini @@ -75,9 +75,9 @@ lib_deps = U8g2 build_flags = ;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework - -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO +; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE -; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE + -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE ; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG ;override lora settings from LMiC library in lmic/config.h and use main.h instead -D_lmic_config_h_ diff --git a/src/blecsan.cpp b/src/blecsan.cpp index df3287bf..a25b5ce9 100644 --- a/src/blecsan.cpp +++ b/src/blecsan.cpp @@ -280,7 +280,7 @@ void bt_loop(void *ignore) while(1) { - vTaskDelay(500); + //vTaskDelay(500); yield(); }