diff options
| author | nongxiaoming <[email protected]> | 2021-12-29 11:06:44 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2021-12-30 01:38:16 +0800 |
| commit | 57165329ac2509bf2ec2bfef67fce22409886b31 (patch) | |
| tree | 9bd4c48c51d172f2d715a70c1e3a3b8d3161aa7a /components/drivers | |
| parent | e6cd32a1adf5417b54c11c6ee015a5f2a9764989 (diff) | |
[components][usb] fix compile warning in cdc_vcom.c
Diffstat (limited to 'components/drivers')
| -rw-r--r-- | components/drivers/usb/usbdevice/class/cdc_vcom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/usb/usbdevice/class/cdc_vcom.c b/components/drivers/usb/usbdevice/class/cdc_vcom.c index 1a24b79f2e..61ab0eebe1 100644 --- a/components/drivers/usb/usbdevice/class/cdc_vcom.c +++ b/components/drivers/usb/usbdevice/class/cdc_vcom.c @@ -738,7 +738,7 @@ static rt_size_t _vcom_rb_block_put(struct vcom *data, const rt_uint8_t *buf, rt return size; } -static rt_size_t _vcom_tx(struct rt_serial_device *serial, rt_uint8_t *buf, rt_size_t size,rt_uint32_t direction) +static rt_size_t _vcom_tx(struct rt_serial_device *serial, rt_uint8_t *buf, rt_size_t size, int direction) { struct ufunction *func; struct vcom *data; |
