1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

shell_commands: sntp: increase default timeout

This commit is contained in:
Martine Lenders 2018-01-30 11:28:37 +01:00 committed by Martine Lenders
parent 3c5d476f84
commit e6fa76e9b0

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 in us>]\n", cmd);
puts("default: timeout = 5000");
printf("default: timeout = %lu\n", _DEFAULT_TIMEOUT);
}
int _ntpdate(int argc, char **argv)