mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 04:04:31 +02:00
Merge branch 'bugfix/btdm_fix_example_log_missing_bug' into 'master'
component/bt: Fix BLE printf missing problem See merge request idf/esp-idf!1912
This commit is contained in:
@@ -186,7 +186,7 @@ void esp_log_write(esp_log_level_t level, const char* tag, const char* format, .
|
|||||||
*/
|
*/
|
||||||
#define ESP_LOG_BUFFER_HEX(tag, buffer, buff_len) \
|
#define ESP_LOG_BUFFER_HEX(tag, buffer, buff_len) \
|
||||||
do { \
|
do { \
|
||||||
if (LOG_LOCAL_LEVEL > ESP_LOG_INFO) { \
|
if (LOG_LOCAL_LEVEL >= ESP_LOG_INFO) { \
|
||||||
ESP_LOG_BUFFER_HEX_LEVEL( tag, buffer, buff_len, ESP_LOG_INFO ); \
|
ESP_LOG_BUFFER_HEX_LEVEL( tag, buffer, buff_len, ESP_LOG_INFO ); \
|
||||||
}\
|
}\
|
||||||
} while(0)
|
} while(0)
|
||||||
@@ -205,7 +205,7 @@ void esp_log_write(esp_log_level_t level, const char* tag, const char* format, .
|
|||||||
*/
|
*/
|
||||||
#define ESP_LOG_BUFFER_CHAR(tag, buffer, buff_len) \
|
#define ESP_LOG_BUFFER_CHAR(tag, buffer, buff_len) \
|
||||||
do { \
|
do { \
|
||||||
if (LOG_LOCAL_LEVEL > ESP_LOG_INFO) { \
|
if (LOG_LOCAL_LEVEL >= ESP_LOG_INFO) { \
|
||||||
ESP_LOG_BUFFER_CHAR_LEVEL( tag, buffer, buff_len, ESP_LOG_INFO ); \
|
ESP_LOG_BUFFER_CHAR_LEVEL( tag, buffer, buff_len, ESP_LOG_INFO ); \
|
||||||
}\
|
}\
|
||||||
} while(0)
|
} while(0)
|
||||||
|
Reference in New Issue
Block a user