[ch32][bsp] fix warning: rt_size_t to rt_ssize_t

This commit is contained in:
linshire 2023-02-26 02:50:33 +08:00 committed by GitHub
parent 12f0df9279
commit e63e33a3c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ static int ch32_getc(struct rt_serial_device *serial)
return ch; return ch;
} }
rt_size_t ch32dma_transmit(struct rt_serial_device *serial, rt_uint8_t *buf, rt_size_t size, int direction) static rt_ssize_t ch32dma_transmit(struct rt_serial_device *serial, rt_uint8_t *buf, rt_size_t size, int direction)
{ {
return RT_EOK; return RT_EOK;
} }