| 67 | } |
| 68 | |
| 69 | static int ls1c_uart_putc(struct rt_serial_device *serial, char c) |
| 70 | { |
| 71 | struct rt_uart_ls1c *uart_dev = RT_NULL; |
| 72 | |
| 73 | RT_ASSERT(serial != RT_NULL); |
| 74 | |
| 75 | uart_dev = (struct rt_uart_ls1c *)serial->parent.user_data; |
| 76 | uart_putc(uart_dev->UARTx, c); |
| 77 | |
| 78 | return 1; |
| 79 | } |
| 80 | |
| 81 | static int ls1c_uart_getc(struct rt_serial_device *serial) |
| 82 | { |
nothing calls this directly
no test coverage detected