Merge pull request #8478 from miri64/sntp/enh/higher-timeout

shell_commands: sntp: increase default timeout
This commit is contained in:
Gaëtan Harter 2018-01-30 21:30:00 +01:00 committed by GitHub
commit 724680703f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)