Sat, 18 May 2019 11:34:51 +0200
SNTP uses a callback function to mark the system time is valid. SNTP is started after we received a DHCP ip address. Added an config option to set a preffered NTP server name, most likely on your most used LAN. It will always fal back to pool.ntp.org.
0 | 1 | /** |
2 | * @file setup.h | |
3 | * @brief Setup screens. | |
4 | */ | |
5 | #ifndef _SETUP_H | |
6 | #define _SETUP_H | |
7 | ||
8 | /** | |
9 | * @brief Setup init fases. | |
10 | */ | |
11 | void Setup_Init(void); | |
12 | ||
13 | /** | |
14 | * @brief Setup loop screens. Non-blocking. | |
15 | */ | |
16 | void Setup_Loop(void); | |
17 | ||
18 | #endif |