mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-24 22:04:54 +08:00
[DeviceDrivers] change the type of cmd to 'int'
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user