From a17677895611ae395eeb1cd6a297388f205638bf Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Thu, 7 Oct 2021 14:15:20 +0200 Subject: [PATCH] Fix Tasmota logging when NIMBLE is enabled --- .../NimBLE-Arduino/src/log_common/log_common.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/libesp32_div/NimBLE-Arduino/src/log_common/log_common.h b/lib/libesp32_div/NimBLE-Arduino/src/log_common/log_common.h index f13a61ad9..ad79f8905 100644 --- a/lib/libesp32_div/NimBLE-Arduino/src/log_common/log_common.h +++ b/lib/libesp32_div/NimBLE-Arduino/src/log_common/log_common.h @@ -26,12 +26,20 @@ extern "C" { #endif +/* #define LOG_LEVEL_DEBUG (0) #define LOG_LEVEL_INFO (1) #define LOG_LEVEL_WARN (2) #define LOG_LEVEL_ERROR (3) #define LOG_LEVEL_CRITICAL (4) #define LOG_LEVEL_NONE (5) +*/ +#define LOG_LEVEL_DEBUG (3) +#define LOG_LEVEL_INFO (2) +#define LOG_LEVEL_WARN (5) +#define LOG_LEVEL_ERROR (1) +#define LOG_LEVEL_CRITICAL (4) +#define LOG_LEVEL_NONE (0) /* Up to 7 custom log levels. */ #define LOG_LEVEL_MAX (15)