From 8b2919aff1c87300125b024a82e7cf97191d75c9 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Wed, 1 Nov 2017 13:39:36 +0800 Subject: [PATCH] [DeviceDrivers] change the type of cmd to 'int' --- components/drivers/can/can.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;