Remove obsolete sntp_stop() calls (#24593)

This commit is contained in:
Theo Arends
2026-03-26 10:53:32 +01:00
parent 86bc033c86
commit 84d456dbfc
5 changed files with 5 additions and 12 deletions
+2 -1
View File
@@ -16,10 +16,11 @@ All notable changes to this project will be documented in this file.
- Matter don't advertize IPv6 global address, only link-local (#24563)
- ESP32-C5/C6/P4 Platform from 2025.03.30 to 2026.03.50, Framework (Arduino Core) from v3.1.10 to v3.3.7 and IDF from v5.3.4.260127 to v5.5.3+ (#24567)
- NeoPool always output valid sensitive data (#24573)
- SML suppress MQTT publish until valid meter data received (#24587)
### Fixed
- Athom esp32 2-3-4 gang change led behaviour after firmware update (#24509)
- ESP8266 heap drain and exception 29 when DHCP provides NTP server (#24515,#24566)
- ESP8266 heap drain and exception 29 when DHCP provides NTP server (#24515, #24566)
- NeoPool possible IntegerDivideByZero (#24578)
### Removed
+2 -1
View File
@@ -137,10 +137,11 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
- LVGL library from v9.4.0 to v9.5.0 [#24470](https://github.com/arendst/Tasmota/issues/24470)
- SHT1x software reset I2C bus after initial (un)detection
- NeoPool always output valid sensitive data [#24573](https://github.com/arendst/Tasmota/issues/24573)
- SML suppress MQTT publish until valid meter data received [#24587](https://github.com/arendst/Tasmota/issues/24587)
- Matter improved parameters handling [#24471](https://github.com/arendst/Tasmota/issues/24471)
### Fixed
- ESP8266 heap drain and exception 29 when DHCP provides NTP server [#24515](https://github.com/arendst/Tasmota/issues/24515)
- ESP8266 heap drain and exception 29 when DHCP provides NTP server [#24515](https://github.com/arendst/Tasmota/issues/24515), [#24566](https://github.com/arendst/Tasmota/issues/24566)
- Crash when shutting down Wifi with `Wifi 0` [#24536](https://github.com/arendst/Tasmota/issues/24536)
- Don't send extraneous `0\r\n\r\n` with non-chunked HTTP/1.0 [#24518](https://github.com/arendst/Tasmota/issues/24518)
- NeoPool possible IntegerDivideByZero [#24578](https://github.com/arendst/Tasmota/issues/24578)
+1 -1
View File
@@ -84,7 +84,7 @@ extra_scripts = post:pio-tools/name-firmware.py
post:pio-tools/metrics-firmware.py
pre:pio-tools/custom_target.py
; post:pio-tools/obj-dump.py
post:pio-tools/check-wrapped-lwip-sntp-calls.py
; post:pio-tools/check-wrapped-lwip-sntp-calls.py
${scripts_defaults.extra_scripts}
; *** remove undesired all warnings
build_unflags = ${tasmota.build_unflags}
-4
View File
@@ -419,10 +419,6 @@ void RtcSetTimeOfDay(uint32_t local_time) {
tv.tv_sec = local_time;
tv.tv_usec = 0;
settimeofday(&tv, nullptr);
#ifdef ESP8266
// We do not want core SNTP server which uses DHCP to find NTP server(s). See #24515
sntp_stop();
#endif // ESP8266
}
void RtcSecond(void) {
@@ -1245,11 +1245,6 @@ void PerformEverySecond(void)
#ifdef ESP8266
// Wifi keep alive to send Gratuitous ARP
wifiKeepAlive();
if (0 == (TasmotaGlobal.uptime % 60)) { // Perform every minute
// We do not want core SNTP server which uses DHCP to find NTP server(s). See #24515
sntp_stop();
}
#endif
WifiPollNtp();