From acf10d91b97f35c2930481264823bf37e5ee6dce Mon Sep 17 00:00:00 2001 From: crasbe Date: Thu, 21 Aug 2025 14:20:26 +0200 Subject: [PATCH] sys/net/ntp_packet: add ref to SNTP, fix time --- sys/include/net/ntp_packet.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/include/net/ntp_packet.h b/sys/include/net/ntp_packet.h index 99ef72f624..9bb0dc8dd8 100644 --- a/sys/include/net/ntp_packet.h +++ b/sys/include/net/ntp_packet.h @@ -14,6 +14,8 @@ * @brief The NTP packet module provides functionality to manipulate the NTP header * @{ * + * @see An implementation of Simple NTP can be found in @ref net_sntp. + * * @file * @brief NTP packet definitions * @@ -46,7 +48,7 @@ extern "C" { #define NTP_PORT (123U) /**< NTP port number */ /** - * @brief Offset in seconds of NTP timestamp (seconds from 1990-01-01 00:00:00 UTC) + * @brief Offset in seconds of NTP timestamp (seconds from 1900-01-01 00:00:00 UTC) * to UNIX timestamp (seconds from 1970-01-01 00:00:00 UTC). */ #define NTP_UNIX_OFFSET (2208988800)