From b15404f998346c65952ffa42ca6f5194ec71065f Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Mon, 30 Jun 2025 19:12:51 +0100 Subject: [PATCH] uart_bridge: log the device name on bitrate changes Add a log for the device name on bitrate changes, without this it's very hard to understand what's going on in a system with multiple bridges. Signed-off-by: Fabio Baltieri --- drivers/serial/uart_bridge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/serial/uart_bridge.c b/drivers/serial/uart_bridge.c index 21beec1fc8a..7428700f3be 100644 --- a/drivers/serial/uart_bridge.c +++ b/drivers/serial/uart_bridge.c @@ -76,8 +76,8 @@ void uart_bridge_settings_update(const struct device *dev, return; } - LOG_INF("uart settings: baudrate=%d parity=%d", cfg.baudrate, - cfg.parity); + LOG_INF("uart settings: baudrate=%d parity=%d dev=%s", + cfg.baudrate, cfg.parity, bridge_dev->name); } static uint8_t uart_bridge_get_idx(const struct device *dev,