File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -113,15 +113,13 @@ SHELL_DYNAMIC_CMD_CREATE(dsub_device_name, device_name_get);
113
113
114
114
SHELL_STATIC_SUBCMD_SET_CREATE (dac_cmds ,
115
115
SHELL_CMD_ARG (setup , & dsub_device_name ,
116
- "Setup DAC channel\n"
117
- "Usage: setup <device> <channel> <resolution> [-b] [-i]\n"
118
- "-b Enable output buffer\n"
119
- "-i Connect internally" ,
116
+ SHELL_HELP ("Setup DAC channel" , "<device> <channel> <resolution> [-b] [-i]\n"
117
+ "-b Enable output buffer\n"
118
+ "-i Connect internally" ),
120
119
cmd_setup , 4 , 2 ),
121
120
SHELL_CMD_ARG (write_value , & dsub_device_name ,
122
- "Write DAC value\n"
123
- "Usage: write <device> <channel> <value>" ,
124
- cmd_write_value , 4 , 0 ),
121
+ SHELL_HELP ("Write DAC value" , "<device> <channel> <value>" ), cmd_write_value ,
122
+ 4 , 0 ),
125
123
SHELL_SUBCMD_SET_END
126
124
);
127
125
You can’t perform that action at this time.
0 commit comments