mirror of
https://github.com/esphome/esphome.git
synced 2026-09-14 08:38:39 +00:00
Update esphome/components/logger/logger.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot
parent
6576e88df0
commit
44ea4a2235
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user