[bsp][at32]修复at32_transmit返回类型错误
This commit is contained in:
parent
dbf8a26e6c
commit
5f077a6df0
|
@ -386,7 +386,7 @@ static void at32_dma_config(struct rt_serial_device *serial, rt_ubase_t flag)
|
|||
}
|
||||
#endif
|
||||
|
||||
static rt_size_t at32_transmit(struct rt_serial_device *serial, rt_uint8_t *buf, rt_size_t size, rt_uint32_t tx_flag)
|
||||
static rt_ssize_t at32_transmit(struct rt_serial_device *serial, rt_uint8_t *buf, rt_size_t size, rt_uint32_t tx_flag)
|
||||
{
|
||||
struct at32_uart *instance;
|
||||
|
||||
|
|
Loading…
Reference in New Issue