diff options
| author | Bernard Xiong <[email protected]> | 2017-11-01 13:39:36 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-11-01 13:39:36 +0800 |
| commit | 8b2919aff1c87300125b024a82e7cf97191d75c9 (patch) | |
| tree | 2e1dea95f1cd3b99f3b35cd395729c91ff585539 /components/drivers/can | |
| parent | 85b17e9158af6e4a419d57099fe3752295451aa5 (diff) | |
[DeviceDrivers] change the type of cmd to 'int'
Diffstat (limited to 'components/drivers/can')
| -rw-r--r-- | components/drivers/can/can.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/can/can.c b/components/drivers/can/can.c index bbd1e2dcf6..000745514c 100644 --- a/components/drivers/can/can.c +++ b/components/drivers/can/can.c @@ -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; |
