diff options
| author | bernard <[email protected]> | 2017-10-15 23:01:03 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2017-10-15 23:01:03 +0800 |
| commit | 68d01f8261cf0fb4b423a9f286bfdc6d15e729bb (patch) | |
| tree | 2dbe3b1a39330ca3b9e416cedd57b7b2ec09f1f8 | |
| parent | bff7afca12aa36d5eb63701e46c722eecb93743f (diff) | |
[VBUS] change cmd type to 'int'
| -rw-r--r-- | components/vbus/vbus_chnx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/vbus/vbus_chnx.c b/components/vbus/vbus_chnx.c index bd54c9dbbd..246c61782f 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); |
