This commit is contained in:
Blaž Kristan
2024-10-07 17:15:35 +02:00
parent 407477dc68
commit 5e9a46d54d
3 changed files with 2 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ void initPresetsFile()
bool applyPresetFromPlaylist(byte index)
{
DEBUG_PRINTF_P(PSTR("Request to apply preset: %d\n"), index);
presetToApply = index;
presetToApply = presetCycCurr = index;
callModeToApply = CALL_MODE_DIRECT_CHANGE;
return true;
}
@@ -127,7 +127,7 @@ bool applyPreset(byte index, byte callMode)
{
unloadPlaylist(); // applying a preset unloads the playlist (#3827)
DEBUG_PRINTF_P(PSTR("Request to apply preset: %u\n"), index);
presetToApply = index;
presetToApply = presetCycCurr = index;
callModeToApply = callMode;
return true;
}