summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/midi/sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/midi/sequencer.c b/apps/plugins/midi/sequencer.c
index fdfd5d7..d56bd26 100644
--- a/apps/plugins/midi/sequencer.c
+++ b/apps/plugins/midi/sequencer.c
@@ -188,7 +188,7 @@ void pressNote(int ch, int note, int vol)
if(voices[a].isUsed==0)
break;
}
- if(a==MAX_VOICES-1)
+ if(a==MAX_VOICES)
{
// printf("\nVoice kill");
// printf("\nToo many voices playing at once. No more left");