diff options
author | Tom Rini <trini@konsulko.com> | 2023-03-28 10:57:34 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-28 10:57:34 -0400 |
commit | 27fbae57ab879bb02abb1784b1fb858dd6c2a0de (patch) | |
tree | 09e08eefd123e358b5012df3dd88f233547b64d8 /include/cli.h | |
parent | 41a88ad529b3943b1e465846eb24fe2c29203e35 (diff) | |
parent | be0169f07e38b81dd96bca2e80610592d89f8550 (diff) |
Merge branch '2023-03-28-correct-several-cli_getch-bugs'
- Merge a regression fix (for an issue that we raised post v2023.01)
with cli_getch(), and include a test now.
Diffstat (limited to 'include/cli.h')
-rw-r--r-- | include/cli.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cli.h b/include/cli.h index c777c90313f..094a6602d70 100644 --- a/include/cli.h +++ b/include/cli.h @@ -98,8 +98,8 @@ int cli_readline(const char *const prompt); * * @prompt: Prompt to display * @buffer: Place to put the line that is entered - * @timeout: Timeout in milliseconds, 0 if none - * Return: command line length excluding terminator, or -ve on error: of the + * @timeout: Timeout in seconds, 0 if none + * Return: command line length excluding terminator, or -ve on error: if the * timeout is exceeded (either CONFIG_BOOT_RETRY_TIME or the timeout * parameter), then -2 is returned. If a break is detected (Ctrl-C) then * -1 is returned. |