增加对LCD屏幕的支持,并初始化RTC配置

This commit is contained in:
2026-02-13 20:44:32 +08:00
parent befe00c505
commit c55bb2bdfb
20 changed files with 1748 additions and 54 deletions

View File

@@ -234,7 +234,7 @@ uint8_t WIFI_Connect_MQTT(const char *wifi_ssid, const char *wifi_pass,
WIFI_WaitEvent("+MQTTDISCONNECTED", NULL, 2000);
/* 稍微延时,避免状态机还没稳定 */
osDelay(200);
osDelay(500);
// 设置SNTP服务器设置成功会自动重启模块
elog_i(TAG,"设置SNTP服务器");
@@ -591,9 +591,10 @@ uint8_t WIFI_Enable_SNTP(void) {
return 0;
}
osDelay(10000); // 等待模块重启并连接到SNTP服务器
elog_i(TAG, "SNTP服务器配置成功模块将自动重启以应用设置");
osDelay(15000); // 等待模块重启并连接到SNTP服务器
return 1;
}