mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 13:08:13 +08:00
TODO
This commit is contained in:
@@ -40,7 +40,8 @@ static void sntp_time_call_back(void)
|
||||
|
||||
void sntp_init(void)
|
||||
{
|
||||
struct in_addr ipp;ipp.s_addr=0xd248912c;
|
||||
struct in_addr ipp;
|
||||
ipp.s_addr=0xd248912c;
|
||||
sntp_set_server_ip_address (0,ipp);
|
||||
sntp_start_auto_time_sync (15000, sntp_time_call_back); //每小时校准一次
|
||||
|
||||
|
||||
Reference in New Issue
Block a user