Skip to content

Commit

Permalink
Properly skip the tuner when cycling through with no screen
Browse files Browse the repository at this point in the history
  • Loading branch information
xconverge committed Jan 4, 2025
1 parent 9b68b87 commit 038deed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Software/GuitarPedal/guitar_pedal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ static void AudioCallback(AudioHandle::InputBuffer in, AudioHandle::OutputBuffer

int newActiveEffectId = activeEffectID + 1;
if (newActiveEffectId == tunerModuleIndex) {
activeEffectID++;
newActiveEffectId++;
}
if (newActiveEffectId > availableEffectsCount - 1) {
newActiveEffectId = 0;
Expand Down

0 comments on commit 038deed

Please sign in to comment.