[DeviceDrivers] change the type of cmd to 'int'

This commit is contained in:
Bernard Xiong 2017-11-01 13:39:36 +08:00
parent 85b17e9158
commit 8b2919aff1
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ static rt_size_t rt_can_write(struct rt_device *dev,
}
static rt_err_t rt_can_control(struct rt_device *dev,
rt_uint8_t cmd,
int cmd,
void *args)
{
struct rt_can_device *can;