From 3975fe0f02e0231f2c008b3566fe315a219787bc Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Sun, 12 Nov 2023 12:41:14 +0100 Subject: [PATCH] Unload playlist on Wiz remote preset button press --- wled00/remote.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wled00/remote.cpp b/wled00/remote.cpp index bce34f9d..793c24c2 100644 --- a/wled00/remote.cpp +++ b/wled00/remote.cpp @@ -101,8 +101,9 @@ static void setOff() { } } -inline void presetWithFallback(uint8_t presetID, uint8_t effectID, uint8_t paletteID) { +void presetWithFallback(uint8_t presetID, uint8_t effectID, uint8_t paletteID) { resetNightMode(); + unloadPlaylist(); applyPresetWithFallback(presetID, CALL_MODE_BUTTON_PRESET, effectID, paletteID); }