fix:优化sntp服务

fix:主函数中初始化增加错误判断处理
代码格式化
This commit is contained in:
Zip
2019-01-29 15:56:25 +08:00
parent 8b3cb142d8
commit fa570549a9
10 changed files with 235 additions and 49 deletions

View File

@@ -47,6 +47,8 @@ typedef struct {
user_plug_config_t plug[PLUG_NUM];
} user_config_t;
extern char rtc_init;
extern system_config_t * sys_config;
extern user_config_t * user_config;