mirror of
https://github.com/wled/WLED.git
synced 2025-07-15 23:06:36 +00:00
Fix switching off for PIR usermod.
This commit is contained in:
parent
66406d86c1
commit
98be19b29f
@ -136,7 +136,7 @@ private:
|
||||
}
|
||||
} else {
|
||||
if (m_offPreset) {
|
||||
if (currentPreset==m_onPreset || currentPlaylist==m_onPreset) applyPreset(m_offPreset, NotifyUpdateMode);
|
||||
applyPreset(m_offPreset, NotifyUpdateMode);
|
||||
return;
|
||||
} else if (prevPlaylist) {
|
||||
if (currentPreset==m_onPreset || currentPlaylist==m_onPreset) applyPreset(prevPlaylist, NotifyUpdateMode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user