mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-03 13:56:32 +02:00
Update esp32-hal-log.h (#6358)
#ifdef added, to avoid compiler redefinition warnings for LOG_LOCAL_LEVEL if defined by application, and we USE_ESP_IDF_LOG
This commit is contained in:
@ -38,9 +38,11 @@ extern "C"
|
|||||||
#else
|
#else
|
||||||
#define ARDUHAL_LOG_LEVEL CORE_DEBUG_LEVEL
|
#define ARDUHAL_LOG_LEVEL CORE_DEBUG_LEVEL
|
||||||
#ifdef USE_ESP_IDF_LOG
|
#ifdef USE_ESP_IDF_LOG
|
||||||
|
#ifndef LOG_LOCAL_LEVEL
|
||||||
#define LOG_LOCAL_LEVEL CORE_DEBUG_LEVEL
|
#define LOG_LOCAL_LEVEL CORE_DEBUG_LEVEL
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_ARDUHAL_LOG_COLORS
|
#ifndef CONFIG_ARDUHAL_LOG_COLORS
|
||||||
#define CONFIG_ARDUHAL_LOG_COLORS 0
|
#define CONFIG_ARDUHAL_LOG_COLORS 0
|
||||||
|
Reference in New Issue
Block a user