Skip to content

Commit 14e9603

Browse files
committed
Use default step when switching memories
1 parent 169a9f3 commit 14e9603

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

ats-mini/Menu.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,10 @@ bool tuneToMemory(const Memory *memory)
680680
// Save current band settings
681681
bands[bandIdx].currentFreq = currentFrequency + currentBFO / 1000;
682682

683+
// Use default step when changing modes
684+
if(bands[memory->band].bandMode != memory->mode)
685+
bands[memory->band].currentStepIdx = defaultStepIdx[memory->mode];
686+
683687
// Load frequency and modulation from memory slot
684688
bands[memory->band].currentFreq = freq;
685689
bands[memory->band].bandMode = memory->mode;

changelog/+step.fixed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Use default step when switching modes.
1+
Use default step when switching modes or memories.

0 commit comments

Comments
 (0)