提交 85b17e91 编写于 作者: B Bernard Xiong

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

上级 6cdaa437
......@@ -361,7 +361,7 @@ static rt_size_t _log_write(rt_device_t dev, rt_off_t pos, const void *buffer, r
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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册