You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2020/02/04 16:23:30 UTC
[mynewt-nimble] 02/02: nimble/btshell: Use sane default for sync
timeout
This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 9b4ac9529bf9c3ff9e709dbf66eb4b1f4685b9da
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Mon Feb 3 23:34:04 2020 +0100
nimble/btshell: Use sane default for sync timeout
---
apps/btshell/src/cmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/btshell/src/cmd.c b/apps/btshell/src/cmd.c
index 1d444b5..cd0cbcd 100644
--- a/apps/btshell/src/cmd.c
+++ b/apps/btshell/src/cmd.c
@@ -3767,7 +3767,7 @@ cmd_sync_create(int argc, char **argv)
return rc;
}
- params.sync_timeout = parse_arg_time_dflt("sync_timeout", 10000, 10, &rc);
+ params.sync_timeout = parse_arg_time_dflt("sync_timeout", 10000, 2000, &rc);
if (rc != 0) {
console_printf("invalid 'sync_timeout' parameter\n");
return rc;