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.
/** * @file automation.h * @brief Brew automation. */ #ifndef _AUTOMATION_H #define _AUTOMATION_H /** * @brief Automation init fases * @return true if should jump to startover. */ bool Automation_Init(void); /** * @brief Automation loop screens. Non-blocking (mostly). * @return true if should jump to startover. */ bool Automation_Loop(void); #endif