未验证 提交 b2d33e91 编写于 作者: D David Lin 提交者: GitHub

Update pwm.c

上级 c689c2c6
...@@ -190,6 +190,7 @@ int fh_pwm_probe(void *priv_data) ...@@ -190,6 +190,7 @@ int fh_pwm_probe(void *priv_data)
if (pwm_dev == RT_NULL) if (pwm_dev == RT_NULL)
{ {
rt_kprintf("ERROR: %s rt_device malloc failed\n", __func__); rt_kprintf("ERROR: %s rt_device malloc failed\n", __func__);
return -RT_EIO;
} }
rt_memset(pwm_dev, 0, sizeof(struct rt_device)); rt_memset(pwm_dev, 0, sizeof(struct rt_device));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册