From b2501dd1221d7910e7aa896ae8b927bb63b77d3a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 23 Apr 2021 12:27:57 +0100 Subject: [readline] Add an optional timeout to readline_history() Signed-off-by: Michael Brown --- src/hci/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hci/shell.c') diff --git a/src/hci/shell.c b/src/hci/shell.c index 276eb3527..8ecf73a6f 100644 --- a/src/hci/shell.c +++ b/src/hci/shell.c @@ -91,7 +91,7 @@ int shell ( void ) { /* Read and execute commands */ do { - readline_history ( shell_prompt, NULL, &history, &line ); + readline_history ( shell_prompt, NULL, &history, 0, &line ); if ( line ) { rc = system ( line ); free ( line ); -- cgit v1.2.3-55-g7522