Update esphome/components/logger/logger_zephyr.cpp

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
tomaszduda23 2024-07-22 12:01:15 +02:00 committed by GitHub
parent 07ec0a7f49
commit 9d57c9897c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ namespace logger {
static const char *const TAG = "logger"; static const char *const TAG = "logger";
void Logger::loop() { void Logger::loop() {
if (this->uart_ != UART_SELECTION_USB_CDC || nullptr == uart_dev_) { if (this->uart_ != UART_SELECTION_USB_CDC || nullptr == this->uart_dev_) {
return; return;
} }
static bool opened = false; static bool opened = false;