diff options
| author | Meco Man <[email protected]> | 2022-05-21 01:46:52 -0400 |
|---|---|---|
| committer | guo <[email protected]> | 2022-05-25 10:04:33 +0800 |
| commit | 42a136288dc7dab4bba688f2ffccbc955090a6bb (patch) | |
| tree | 186d7c3ce3ff1894f98f06d665345eac341397f7 /components/drivers/misc | |
| parent | 996add96d6cb053767e6b54d73a9197f4be13819 (diff) | |
[adc][pwm] correct the command description
Diffstat (limited to 'components/drivers/misc')
| -rw-r--r-- | components/drivers/misc/adc.c | 4 | ||||
| -rw-r--r-- | components/drivers/misc/rt_drv_pwm.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/components/drivers/misc/adc.c b/components/drivers/misc/adc.c index f652bf1f48..686208ddbe 100644 --- a/components/drivers/misc/adc.c +++ b/components/drivers/misc/adc.c @@ -7,7 +7,7 @@ * Date Author Notes * 2018-05-07 aozima the first version * 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> @@ -271,6 +271,6 @@ static int adc(int argc, char **argv) } return RT_EOK; } -MSH_CMD_EXPORT(adc, adc <device name> <option> <channel>); +MSH_CMD_EXPORT(adc, adc [option]); #endif /* RT_USING_FINSH */ diff --git a/components/drivers/misc/rt_drv_pwm.c b/components/drivers/misc/rt_drv_pwm.c index 2571eeb202..5a1924f0c4 100644 --- a/components/drivers/misc/rt_drv_pwm.c +++ b/components/drivers/misc/rt_drv_pwm.c @@ -299,6 +299,6 @@ static int pwm(int argc, char **argv) return RT_EOK; } -MSH_CMD_EXPORT(pwm, pwm <device name> <option> <channel>); +MSH_CMD_EXPORT(pwm, pwm [option]); #endif /* RT_USING_FINSH */ |
