mirror of
https://github.com/esphome/esphome.git
synced 2025-11-01 15:41:52 +00:00
fix build error
This commit is contained in:
@@ -65,7 +65,6 @@ void Logger::write_header_(int level, const char *tag, int line) {
|
|||||||
const char *color = LOG_LEVEL_COLORS[level];
|
const char *color = LOG_LEVEL_COLORS[level];
|
||||||
const char *letter = LOG_LEVEL_LETTERS[level];
|
const char *letter = LOG_LEVEL_LETTERS[level];
|
||||||
void *current_task = xTaskGetCurrentTaskHandle();
|
void *current_task = xTaskGetCurrentTaskHandle();
|
||||||
SEGGER_RTT_printf(0," __VA_ARGS__\n");
|
|
||||||
if (current_task == main_task) {
|
if (current_task == main_task) {
|
||||||
this->printf_to_buffer_("%s[%s][%s:%03u]: ", color, letter, tag, line);
|
this->printf_to_buffer_("%s[%s][%s:%03u]: ", color, letter, tag, line);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user