From e6fa76e9b05af74243aade1d0388acd338dc5989 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Tue, 30 Jan 2018 11:28:37 +0100 Subject: [PATCH] shell_commands: sntp: increase default timeout --- sys/shell/commands/sc_sntp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/shell/commands/sc_sntp.c b/sys/shell/commands/sc_sntp.c index aff1d3f49d..5e4bc0da10 100644 --- a/sys/shell/commands/sc_sntp.c +++ b/sys/shell/commands/sc_sntp.c @@ -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 [%%] []\n", cmd); - puts("default: timeout = 5000"); + printf("default: timeout = %lu\n", _DEFAULT_TIMEOUT); } int _ntpdate(int argc, char **argv)