This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 5ae92c6  hw/mcu/da1469x: fix passing of uart name in 
da1469x_uart_create
5ae92c6 is described below

commit 5ae92c6521406ea75448fd875f022d04b68f57e2
Author: Ben McCrea <bmcc...@juul.com>
AuthorDate: Wed Feb 17 12:39:50 2021 -0800

    hw/mcu/da1469x: fix passing of uart name in da1469x_uart_create
---
 hw/mcu/dialog/da1469x/src/da1469x_periph.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/mcu/dialog/da1469x/src/da1469x_periph.c 
b/hw/mcu/dialog/da1469x/src/da1469x_periph.c
index af9bda6..0ec0628 100644
--- a/hw/mcu/dialog/da1469x/src/da1469x_periph.c
+++ b/hw/mcu/dialog/da1469x/src/da1469x_periph.c
@@ -356,7 +356,7 @@ static int
 da1469x_uart_create(struct uart_dev *dev, const char *name, uint8_t priority,
                     const struct da1469x_uart_cfg *cfg)
 {
-    return os_dev_create(&dev->ud_dev, "uart0",
+    return os_dev_create(&dev->ud_dev, name,
                          OS_DEV_INIT_PRIMARY, priority, uart_hal_init,
                          (void *)cfg);
 }

Reply via email to