[adc][pwm] correct the command description

This commit is contained in:
Meco Man 2022-05-21 01:46:52 -04:00 committed by guo
parent 996add96d6
commit 42a136288d
2 changed files with 3 additions and 3 deletions

View File

@ -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 */

View File

@ -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 */