diff --git a/NuEVI.ino b/NuEVI.ino index 9170f97..49457aa 100644 --- a/NuEVI.ino +++ b/NuEVI.ino @@ -462,6 +462,7 @@ void loop() { activePatch = patch; usbMIDI.sendProgramChange(activePatch-1,activeMIDIchannel); dinMIDIsendProgramChange(activePatch-1,activeMIDIchannel-1); + if (readSetting(PATCH_ADDR) != activePatch) writeSetting(PATCH_ADDR,activePatch); doPatchUpdate = 0; } if (pressureSensor > breathThrVal) {