Skip to content

Commit

Permalink
Disable quick switching to tuner when no screen exists on the hardware
Browse files Browse the repository at this point in the history
  • Loading branch information
xconverge committed Jan 4, 2025
1 parent 056e80f commit 5c59b87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Software/GuitarPedal/guitar_pedal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ static void AudioCallback(AudioHandle::InputBuffer in, AudioHandle::OutputBuffer
// Process potential 2 switch actions before the main switch processing loop

// Only allow for quickswitching to tuner if we have an alternate
// footswitch. With only 1 switch, holding the switch triggers saving the
// settings, not quick switching
if (has_alternate_footswitch) {
// footswitch and a screen. With only 1 switch, holding the switch triggers saving the
// settings, not quick switching. With no screen, the tuner isn't useful.
if (has_alternate_footswitch && hardware.SupportsDisplay()) {
// Handle the scenario where we only have 2 footswitches
// If both footswitches are down, save the parameters for this effect to
// persistant storage If there is only one footswitch, it will do
Expand Down

0 comments on commit 5c59b87

Please sign in to comment.