[bsp][at32]修复at32_transmit返回类型错误

This commit is contained in:
WaterFishJ 2024-05-08 15:18:27 +08:00 committed by Meco Man
parent dbf8a26e6c
commit 5f077a6df0
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ static void at32_dma_config(struct rt_serial_device *serial, rt_ubase_t flag)
} }
#endif #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; struct at32_uart *instance;