mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-07 18:47:54 +00:00
nimble/btshell: Use sane default for sync timeout
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user