[VBUS] change cmd type to 'int'
This commit is contained in:
parent
bff7afca12
commit
68d01f8261
|
@ -174,7 +174,7 @@ static rt_size_t _write(rt_device_t dev, rt_off_t pos, const void *buffer, rt_si
|
|||
return size;
|
||||
}
|
||||
|
||||
rt_err_t _control(rt_device_t dev, rt_uint8_t cmd, void *args)
|
||||
rt_err_t _control(rt_device_t dev, int cmd, void *args)
|
||||
{
|
||||
RT_ASSERT(dev);
|
||||
|
||||
|
|
Loading…
Reference in New Issue