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.71k stars 4.72k forks source link

SML: Fix compile error when median-filter is disabled #21495

Closed rPraml closed 1 month ago

rPraml commented 1 month ago

Description:

Fixes a compile error, when compiled with NO_USE_SML_MEDIAN_FILTER

In this case, sml_mf would be undefined.

Related issue (if applicable): fixes #

Checklist:

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