mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
[DeviceDrivers] change the type of cmd to 'int'
This commit is contained in:
1 parent
85b17e9158
commit
8b2919aff1
1 file changed
+1
-1
@@ -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