1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

fix build error

This commit is contained in:
Tomasz Duda
2024-01-14 18:21:47 +01:00
parent 0aa4a1e845
commit 793e90a0e0

View File

@@ -65,7 +65,6 @@ void Logger::write_header_(int level, const char *tag, int line) {
const char *color = LOG_LEVEL_COLORS[level];
const char *letter = LOG_LEVEL_LETTERS[level];
void *current_task = xTaskGetCurrentTaskHandle();
SEGGER_RTT_printf(0," __VA_ARGS__\n");
if (current_task == main_task) {
this->printf_to_buffer_("%s[%s][%s:%03u]: ", color, letter, tag, line);
} else {