提交 42a13628 编写于 作者: mysterywolf's avatar mysterywolf 提交者: guo

[adc][pwm] correct the command description

上级 996add96
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Date Author Notes * Date Author Notes
* 2018-05-07 aozima the first version * 2018-05-07 aozima the first version
* 2018-11-16 Ernest Chen add finsh command and update adc function * 2018-11-16 Ernest Chen add finsh command and update adc function
* 2022-05-11 Stanley Lwin add finsh voltage conversion command * 2022-05-11 Stanley Lwin add finsh voltage conversion command
*/ */
#include <rtthread.h> #include <rtthread.h>
...@@ -271,6 +271,6 @@ static int adc(int argc, char **argv) ...@@ -271,6 +271,6 @@ static int adc(int argc, char **argv)
} }
return RT_EOK; return RT_EOK;
} }
MSH_CMD_EXPORT(adc, adc <device name> <option> <channel>); MSH_CMD_EXPORT(adc, adc [option]);
#endif /* RT_USING_FINSH */ #endif /* RT_USING_FINSH */
...@@ -299,6 +299,6 @@ static int pwm(int argc, char **argv) ...@@ -299,6 +299,6 @@ static int pwm(int argc, char **argv)
return RT_EOK; return RT_EOK;
} }
MSH_CMD_EXPORT(pwm, pwm <device name> <option> <channel>); MSH_CMD_EXPORT(pwm, pwm [option]);
#endif /* RT_USING_FINSH */ #endif /* RT_USING_FINSH */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册