Skip to content

Commit

Permalink
[ch32][bsp] fix warning: rt_size_t to rt_ssize_t
Browse files Browse the repository at this point in the history
  • Loading branch information
linshire authored Feb 25, 2023
1 parent 12f0df9 commit e63e33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bsp/wch/risc-v/Libraries/ch32_drivers/drv_usart.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ static int ch32_getc(struct rt_serial_device *serial)
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;
}
Expand Down

0 comments on commit e63e33a

Please sign in to comment.