void updateBypassMode(){ #ifdef OWLMODULAR bypass = false; updateLed(); #else if(isStompSwitchPressed()){ bypass = true; setLed(NONE); midi.sendCc(LED, 0); }else{ bypass = false; updateLed(); } #endif }
void updateLed(){ setLed((LedPin)patches.getActiveSlot()); midi.sendCc(LED, getLed() == GREEN ? 42 : 84); }