Skip to content

Commit be0fb67

Browse files
committed
Minor comment added
1 parent 2df4487 commit be0fb67

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Software/GuitarPedal/guitar_pedal.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,12 @@ static void AudioCallback(AudioHandle::InputBuffer in, AudioHandle::OutputBuffer
238238
} else {
239239
// Cycle to the next effect
240240
int newActiveEffectId = activeEffectID + 1;
241+
242+
// Skip over the tuner if there is no screen
241243
if (newActiveEffectId == tunerModuleIndex) {
242244
newActiveEffectId++;
243245
}
246+
244247
if (newActiveEffectId > availableEffectsCount - 1) {
245248
newActiveEffectId = 0;
246249
}

0 commit comments

Comments
 (0)