Unload playlist on Wiz remote preset button press

This commit is contained in:
Blaz Kristan 2023-11-12 12:41:14 +01:00
parent 0739cfc240
commit 3975fe0f02

View File

@ -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(); resetNightMode();
unloadPlaylist();
applyPresetWithFallback(presetID, CALL_MODE_BUTTON_PRESET, effectID, paletteID); applyPresetWithFallback(presetID, CALL_MODE_BUTTON_PRESET, effectID, paletteID);
} }