fix wrong initial state

This commit is contained in:
Wolfgang Hottgenroth 2024-03-28 16:53:08 +01:00
parent ee98ba12a3
commit 2c3bccd147

View File

@ -53,7 +53,7 @@ void sequencerExec(void *handle) {
uint16_t sequencerPlayMelody(t_melody *melody) {
melody->idx = 0;
melody->lengthCnt = 0;
melody->state = e_PlayTone;
melody->state = e_Init;
return schAdd(sequencerExec, (void*) melody, 0, melody->pace);
}