Skip to content

Commit 07c1d01

Browse files
ubiedadanieldegrasse
authored andcommitted
shell: spi: fix typo on spi cs command
Copy-paste error fixed from help text. Signed-off-by: Luis Ubieda <luisf@croxel.com>
1 parent ff112b5 commit 07c1d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi_shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(sub_spi_cmds,
193193
SHELL_CMD_ARG(cs, &dsub_device_name,
194194
"Assign CS GPIO to SPI device\n"
195195
"Usage: spi cs <gpio-device> <pin> [<gpio flags>]"
196-
"example: spi conf gpio1 3 0x01",
196+
"example: spi cs gpio1 3 0x01",
197197
cmd_spi_conf_cs, 3, 1),
198198
SHELL_CMD_ARG(transceive, NULL,
199199
"Transceive data to and from an SPI device\n"

0 commit comments

Comments
 (0)