diff --git a/libs/modep.js b/libs/modep.js index 7a917b7..e65cb64 100644 --- a/libs/modep.js +++ b/libs/modep.js @@ -429,9 +429,9 @@ async function toggleBypass(pedalId) { const pedal = await getCurrentPedalById(pedalId); const bypass = getBypassControlFromPedal(pedal); if (bypass.value === undefined || bypass.value === 0) { - bypass.value = 127; - } else { bypass.value = 0; + } else { + bypass.value = 127; } try { await setControl(bypass, bypass.value);