From 9d57c9897c229521b7882c098ca7e4b6a63c02df Mon Sep 17 00:00:00 2001 From: tomaszduda23 Date: Mon, 22 Jul 2024 12:01:15 +0200 Subject: [PATCH] Update esphome/components/logger/logger_zephyr.cpp Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> --- esphome/components/logger/logger_zephyr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/logger/logger_zephyr.cpp b/esphome/components/logger/logger_zephyr.cpp index 2810aa0b52..523d23083f 100644 --- a/esphome/components/logger/logger_zephyr.cpp +++ b/esphome/components/logger/logger_zephyr.cpp @@ -14,7 +14,7 @@ namespace logger { static const char *const TAG = "logger"; 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; } static bool opened = false;