@@ -25,7 +25,7 @@ extern int ets_printf(const char *fmt, ...);
25
25
#if MCUBOOT_LOG_LEVEL >= MCUBOOT_LOG_LEVEL_ERROR
26
26
#define MCUBOOT_LOG_ERR (_fmt , ...) \
27
27
do { \
28
- ESP_EARLY_LOGE("boot", _fmt "\n\r" , ##__VA_ARGS__); \
28
+ ESP_EARLY_LOGE("boot", _fmt, ##__VA_ARGS__); \
29
29
} while (0)
30
30
#else
31
31
#define MCUBOOT_LOG_ERR (_fmt , ...)
@@ -34,7 +34,7 @@ extern int ets_printf(const char *fmt, ...);
34
34
#if MCUBOOT_LOG_LEVEL >= MCUBOOT_LOG_LEVEL_WARNING
35
35
#define MCUBOOT_LOG_WRN (_fmt , ...) \
36
36
do { \
37
- ESP_EARLY_LOGW("boot", _fmt "\n\r" , ##__VA_ARGS__); \
37
+ ESP_EARLY_LOGW("boot", _fmt, ##__VA_ARGS__); \
38
38
} while (0)
39
39
#else
40
40
#define MCUBOOT_LOG_WRN (_fmt , ...)
@@ -43,7 +43,7 @@ extern int ets_printf(const char *fmt, ...);
43
43
#if MCUBOOT_LOG_LEVEL >= MCUBOOT_LOG_LEVEL_INFO
44
44
#define MCUBOOT_LOG_INF (_fmt , ...) \
45
45
do { \
46
- ESP_EARLY_LOGI("boot", _fmt "\n\r" , ##__VA_ARGS__); \
46
+ ESP_EARLY_LOGI("boot", _fmt, ##__VA_ARGS__); \
47
47
} while (0)
48
48
#else
49
49
#define MCUBOOT_LOG_INF (_fmt , ...)
@@ -52,7 +52,7 @@ extern int ets_printf(const char *fmt, ...);
52
52
#if MCUBOOT_LOG_LEVEL >= MCUBOOT_LOG_LEVEL_DEBUG
53
53
#define MCUBOOT_LOG_DBG (_fmt , ...) \
54
54
do { \
55
- ESP_EARLY_LOGD("boot", _fmt "\n\r" , ##__VA_ARGS__); \
55
+ ESP_EARLY_LOGD("boot", _fmt, ##__VA_ARGS__); \
56
56
} while (0)
57
57
#else
58
58
#define MCUBOOT_LOG_DBG (_fmt , ...)
0 commit comments