[logtrace] change the type of cmd to 'int'

This commit is contained in:
Bernard Xiong 2017-11-01 13:38:10 +08:00
parent 6cdaa43747
commit 85b17e9158
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ static rt_size_t _log_write(rt_device_t dev, rt_off_t pos, const void *buffer, r
return size; return size;
} }
static rt_err_t _log_control(rt_device_t dev, rt_uint8_t cmd, void *arg) static rt_err_t _log_control(rt_device_t dev, int cmd, void *arg)
{ {
if (_traceout_device == RT_NULL) return -RT_ERROR; if (_traceout_device == RT_NULL) return -RT_ERROR;