Merge pull request #8478 from miri64/sntp/enh/higher-timeout
shell_commands: sntp: increase default timeout
This commit is contained in:
commit
724680703f
@ -27,12 +27,12 @@
|
||||
#include "net/ipv6/addr.h"
|
||||
#include "timex.h"
|
||||
|
||||
#define _DEFAULT_TIMEOUT (5000U);
|
||||
#define _DEFAULT_TIMEOUT (500000LU)
|
||||
|
||||
static void _usage(char *cmd)
|
||||
{
|
||||
printf("Usage: %s <server addr>[%%<interface>] [<timeout>]\n", cmd);
|
||||
puts("default: timeout = 5000");
|
||||
printf("Usage: %s <server addr>[%%<interface>] [<timeout in us>]\n", cmd);
|
||||
printf("default: timeout = %lu\n", _DEFAULT_TIMEOUT);
|
||||
}
|
||||
|
||||
int _ntpdate(int argc, char **argv)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user