Skip to content

Commit acf10d9

Browse files
committed
sys/net/ntp_packet: add ref to SNTP, fix time
1 parent 8ab9956 commit acf10d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sys/include/net/ntp_packet.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* @brief The NTP packet module provides functionality to manipulate the NTP header
1515
* @{
1616
*
17+
* @see An implementation of Simple NTP can be found in @ref net_sntp.
18+
*
1719
* @file
1820
* @brief NTP packet definitions
1921
*
@@ -46,7 +48,7 @@ extern "C" {
4648
#define NTP_PORT (123U) /**< NTP port number */
4749

4850
/**
49-
* @brief Offset in seconds of NTP timestamp (seconds from 1990-01-01 00:00:00 UTC)
51+
* @brief Offset in seconds of NTP timestamp (seconds from 1900-01-01 00:00:00 UTC)
5052
* to UNIX timestamp (seconds from 1970-01-01 00:00:00 UTC).
5153
*/
5254
#define NTP_UNIX_OFFSET (2208988800)

0 commit comments

Comments
 (0)