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:
parent
3c5d476f84
commit
e6fa76e9b0
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user