added to frontend more SNTP servers, increased wifi scan time

This commit is contained in:
Bogdan Pilyugin 2023-05-20 19:28:38 +02:00
parent e2ad5268ff
commit 149446e06d
5 changed files with 1571 additions and 1560 deletions

View File

@ -185,7 +185,7 @@
b.value = 0;
b.style.visibility = "visible";
for (i = 0; i<=100; ++i){
await new Promise(resolve => setTimeout(resolve, 50));
await new Promise(resolve => setTimeout(resolve, 100));
b.value = i;
}
b.style.visibility = "hidden";

View File

@ -27,7 +27,9 @@
<table class='cntr'>
<script>PrintSwitch('Включить SNTP клиент','sntpen','~sntpen~',null);
PrintTextInput('Адрес SNTP сервера:','tsr','~tmsrv~',3,31);
PrintTextInput('Адрес1 SNTP сервера:','tsr','~tmsrv~',3,31);
PrintTextInput('Адрес2 SNTP сервера:','tsr2','~tmsrv2~',3,31);
PrintTextInput('Адрес3 SNTP сервера:','tsr3','~tmsrv3~',3,31);
</script>
</table>
<table class='cntr'>

@ -1 +1 @@
Subproject commit 5f8f2be7b069abbcbfc68f837cbce088883df726
Subproject commit a856034f1de3a1395844b205251b9e2c13cb2ba2

View File

@ -858,7 +858,7 @@ CONFIG_LWIP_MAX_RAW_PCBS=16
#
# SNTP
#
CONFIG_LWIP_SNTP_MAX_SERVERS=1
CONFIG_LWIP_SNTP_MAX_SERVERS=3
# CONFIG_LWIP_DHCP_GET_NTP_SRV is not set
CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
# end of SNTP
@ -1290,7 +1290,9 @@ CONFIG_WEBGUIAPP_OTA_AUTOUPDATE_PERIOD=3600
# SNTP client settings
#
CONFIG_WEBGUIAPP_SNTP_AUTOUPDATE_ENABLE=y
CONFIG_WEBGUIAPP_SNTP_HOST="2.pool.ntp.org"
CONFIG_WEBGUIAPP_SNTP_HOST_1="1.pool.ntp.org"
CONFIG_WEBGUIAPP_SNTP_HOST_2="2.pool.ntp.org"
CONFIG_WEBGUIAPP_SNTP_HOST_3="3.pool.ntp.org"
CONFIG_WEBGUIAPP_SNTP_AUTOUPDATE_PERIOD=3600
CONFIG_WEBGUIAPP_SNTP_TIMEZONE=2
# end of SNTP client settings

File diff suppressed because it is too large Load Diff