arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.8k stars 4.73k forks source link

Changed internal macro `APP_SLEEP` to `TASMOTA_SLEEP` to specify default sleep in ms #21324

Closed s-hadinger closed 2 months ago

s-hadinger commented 2 months ago

Description:

Due to the way APP_SLEEP worked, it was anyways defaulted to 50ms.

It is renamed to TASMOTA_SLEEP to avoid collision, and allows now the precise value to be changed as the default value of pre-compiled firmwares.

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass