Skip to content

Commit

Permalink
drivers: usb: fix usb shell print garbled characters
Browse files Browse the repository at this point in the history
fix usb shell print garbled characters.

Signed-off-by: cpchiang <[email protected]>
  • Loading branch information
cpchiang committed May 20, 2024
1 parent e1f839c commit 431ab19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/usb/usb_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ SHELL_STATIC_SUBCMD_SET_CREATE(m_sub_usb,
SHELL_CMD(enable, NULL, SHELL_HELP_USB_ENABLE, cmd_usb_enable),
SHELL_CMD(clear, NULL, SHELL_HELP_USB_CLEAR, cmd_usb_clear),
SHELL_CMD_ARG(print, NULL, SHELL_HELP_USB_PRINT, cmd_usb_print, 2, 0),
SHELL_CMD_ARG(wait, NULL, SHELL_HELP_USB_WAIT, cmd_usb_wait, 2, 0)
SHELL_CMD_ARG(wait, NULL, SHELL_HELP_USB_WAIT, cmd_usb_wait, 2, 0),
SHELL_SUBCMD_SET_END
);

SHELL_CMD_REGISTER(usb, &m_sub_usb, SHELL_HELP_SHELL, NULL);

0 comments on commit 431ab19

Please sign in to comment.