[VBUS] change cmd type to 'int'

This commit is contained in:
bernard 2017-10-15 23:01:03 +08:00
parent bff7afca12
commit 68d01f8261
1 changed files with 1 additions and 1 deletions

View File

@ -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);