mirror of
https://github.com/esphome/esphome.git
synced 2025-09-18 03:02:20 +01:00
Update esphome/components/logger/logger.h
This commit is contained in:
@@ -359,7 +359,7 @@ class Logger : public Component {
|
||||
this->write_body_to_buffer_(ESPHOME_LOG_RESET_COLOR, RESET_COLOR_LEN, buffer, buffer_at, buffer_size);
|
||||
}
|
||||
|
||||
#ifdef USE_ESPHOME_TASK_LOG_BUFFER
|
||||
#ifdef USE_ESP32
|
||||
// Disable loop when task buffer is empty (with USB CDC check)
|
||||
inline void disable_loop_when_buffer_empty_() {
|
||||
// Thread safety note: This is safe even if another task calls enable_loop_soon_any_context()
|
||||
|
Reference in New Issue
Block a user