added to frontend more SNTP servers, increased wifi scan time
This commit is contained in:
parent
e2ad5268ff
commit
149446e06d
|
|
@ -185,7 +185,7 @@
|
||||||
b.value = 0;
|
b.value = 0;
|
||||||
b.style.visibility = "visible";
|
b.style.visibility = "visible";
|
||||||
for (i = 0; i<=100; ++i){
|
for (i = 0; i<=100; ++i){
|
||||||
await new Promise(resolve => setTimeout(resolve, 50));
|
await new Promise(resolve => setTimeout(resolve, 100));
|
||||||
b.value = i;
|
b.value = i;
|
||||||
}
|
}
|
||||||
b.style.visibility = "hidden";
|
b.style.visibility = "hidden";
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,9 @@
|
||||||
|
|
||||||
<table class='cntr'>
|
<table class='cntr'>
|
||||||
<script>PrintSwitch('Включить SNTP клиент','sntpen','~sntpen~',null);
|
<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>
|
</script>
|
||||||
</table>
|
</table>
|
||||||
<table class='cntr'>
|
<table class='cntr'>
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 5f8f2be7b069abbcbfc68f837cbce088883df726
|
Subproject commit a856034f1de3a1395844b205251b9e2c13cb2ba2
|
||||||
|
|
@ -858,7 +858,7 @@ CONFIG_LWIP_MAX_RAW_PCBS=16
|
||||||
#
|
#
|
||||||
# SNTP
|
# SNTP
|
||||||
#
|
#
|
||||||
CONFIG_LWIP_SNTP_MAX_SERVERS=1
|
CONFIG_LWIP_SNTP_MAX_SERVERS=3
|
||||||
# CONFIG_LWIP_DHCP_GET_NTP_SRV is not set
|
# CONFIG_LWIP_DHCP_GET_NTP_SRV is not set
|
||||||
CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
|
CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
|
||||||
# end of SNTP
|
# end of SNTP
|
||||||
|
|
@ -1290,7 +1290,9 @@ CONFIG_WEBGUIAPP_OTA_AUTOUPDATE_PERIOD=3600
|
||||||
# SNTP client settings
|
# SNTP client settings
|
||||||
#
|
#
|
||||||
CONFIG_WEBGUIAPP_SNTP_AUTOUPDATE_ENABLE=y
|
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_AUTOUPDATE_PERIOD=3600
|
||||||
CONFIG_WEBGUIAPP_SNTP_TIMEZONE=2
|
CONFIG_WEBGUIAPP_SNTP_TIMEZONE=2
|
||||||
# end of SNTP client settings
|
# end of SNTP client settings
|
||||||
|
|
|
||||||
3117
sdkconfig.old
3117
sdkconfig.old
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user