We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 669d9d9 commit e657296Copy full SHA for e657296
bsp/allwinner_tina/drivers/drv_uart.h
@@ -74,9 +74,9 @@ struct tina_uart
74
75
typedef struct tina_uart *tina_uart_t;
76
77
-#define UART0 ((tina_gpio_t)UART0_BASE_ADDR)
78
-#define UART1 ((tina_gpio_t)UART1_BASE_ADDR)
79
-#define UART2 ((tina_gpio_t)UART2_BASE_ADDR)
+#define UART0 ((tina_uart_t)UART0_BASE_ADDR)
+#define UART1 ((tina_uart_t)UART1_BASE_ADDR)
+#define UART2 ((tina_uart_t)UART2_BASE_ADDR)
80
81
int rt_hw_uart_init(void);
82
0 commit comments