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;