From 68d01f8261cf0fb4b423a9f286bfdc6d15e729bb Mon Sep 17 00:00:00 2001 From: bernard Date: Sun, 15 Oct 2017 23:01:03 +0800 Subject: [PATCH] [VBUS] change cmd type to 'int' --- components/vbus/vbus_chnx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/vbus/vbus_chnx.c b/components/vbus/vbus_chnx.c index bd54c9dbb..246c61782 100644 --- a/components/vbus/vbus_chnx.c +++ b/components/vbus/vbus_chnx.c @@ -174,7 +174,7 @@ static rt_size_t _write(rt_device_t dev, rt_off_t pos, const void *buffer, rt_si return size; } -rt_err_t _control(rt_device_t dev, rt_uint8_t cmd, void *args) +rt_err_t _control(rt_device_t dev, int cmd, void *args) { RT_ASSERT(dev); -- GitLab