Skip to content

Commit 5716532

Browse files
nongxiaomingBernardXiong
authored andcommitted
[components][usb] fix compile warning in cdc_vcom.c
1 parent e6cd32a commit 5716532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/drivers/usb/usbdevice/class/cdc_vcom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ static rt_size_t _vcom_rb_block_put(struct vcom *data, const rt_uint8_t *buf, rt
738738
return size;
739739
}
740740

741-
static rt_size_t _vcom_tx(struct rt_serial_device *serial, rt_uint8_t *buf, rt_size_t size,rt_uint32_t direction)
741+
static rt_size_t _vcom_tx(struct rt_serial_device *serial, rt_uint8_t *buf, rt_size_t size, int direction)
742742
{
743743
struct ufunction *func;
744744
struct vcom *data;

0 commit comments

Comments
 (0)