sync marks work

This commit is contained in:
2024-03-29 13:29:53 +01:00
parent 1ebf85cb9d
commit d4d494ae7b
3 changed files with 8 additions and 4 deletions

View File

@ -11,7 +11,7 @@ void sequencerInit() {
void sequencerExec(void *handle) {
t_melodies *melodies = (t_melodies*) handle;
for (uint8_t channel = 0; channel < MAX(NUM_OF_CHANNELS, melodies->numOfMelodies); channel++) {
for (uint8_t channel = 0; channel < melodies->numOfMelodies; channel++) {
t_melody *melody = &(melodies->melodies[channel]);
switch (melody->state) {