Fix Shelly Dimmer 2 serial timeout regression from v15.2.0.1 (#24560)

This commit is contained in:
Theo Arends
2026-03-30 14:38:20 +02:00
parent f56d12b1bf
commit 74099b54e3
3 changed files with 3 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ All notable changes to this project will be documented in this file.
- 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)
- NeoPool possible IntegerDivideByZero (#24578)
- Shelly Dimmer 2 serial timeout regression from v15.2.0.1 (#24560)
### Removed

View File

@@ -148,6 +148,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
- 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)
- Shelly Dimmer 2 serial timeout regression from v15.2.0.1 [#24560](https://github.com/arendst/Tasmota/issues/24560)
- NeoPool possible IntegerDivideByZero [#24578](https://github.com/arendst/Tasmota/issues/24578)
- Do not free BT memory when in use [#24480](https://github.com/arendst/Tasmota/issues/24480)
- Berry avoid `tasmota.wifi()` returning bad values when wifi is turned off [#24505](https://github.com/arendst/Tasmota/issues/24505)

View File

@@ -273,8 +273,8 @@ bool ShdSerialSend(const uint8_t data[] = nullptr, uint16_t len = 0)
while (retries--)
{
ShdSerial->write(data, len);
ShdSerial->flush();
ShdSerial->write(data, len);
// wait for any response
uint32_t snd_time = millis() + SHD_ACK_TIMEOUT;