未验证 提交 dcce9886 编写于 作者: G guo 提交者: GitHub

Update sensor.c

上级 51569a06
......@@ -488,7 +488,7 @@ int rt_hw_sensor_register(rt_sensor_t sensor,
return result;
}
rt_free(device_name);
LOG_I("rt_sensor[%s] init success", device_name);
rt_free(device_name);
return RT_EOK;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册