[DeviceDrivers] change the type of cmd to 'int'
This commit is contained in:
parent
85b17e9158
commit
8b2919aff1
|
@ -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,
|
static rt_err_t rt_can_control(struct rt_device *dev,
|
||||||
rt_uint8_t cmd,
|
int cmd,
|
||||||
void *args)
|
void *args)
|
||||||
{
|
{
|
||||||
struct rt_can_device *can;
|
struct rt_can_device *can;
|
||||||
|
|
Loading…
Reference in New Issue