Update esphome/components/logger/logger.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2026-03-21 16:55:15 -10:00
committed by GitHub
co-authored by Copilot
parent 6576e88df0
commit 44ea4a2235
+1 -1
View File
@@ -162,7 +162,7 @@ Logger::Logger(uint32_t baud_rate) : baud_rate_(baud_rate) {
#elif defined(USE_ZEPHYR)
this->main_task_ = k_current_get();
#elif defined(USE_HOST)
this->main_thread_ = pthread_self();
this->main_thread_ = pthread_self();
#endif
#ifdef USE_ESPHOME_TASK_LOG_BUFFER
this->init_log_buffer_(task_log_buffer_size);