This commit is contained in:
2024-04-16 10:14:03 +02:00
parent 2711f5fb4b
commit ac6ca860cb

View File

@ -10,9 +10,9 @@
void sequencerInit() { void sequencerInit() {
} }
#pragma GCC diagnostic push // #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wswitch" // #pragma GCC diagnostic ignored "-Wswitch"
#pragma GCC diagnostic ignored "-Wreturn-type" // #pragma GCC diagnostic ignored "-Wreturn-type"
static uint16_t calcLength(t_melodies *m, t_noteLength l) { static uint16_t calcLength(t_melodies *m, t_noteLength l) {
switch (l) { switch (l) {
case e_L_1: case e_L_1:
@ -29,7 +29,7 @@ static uint16_t calcLength(t_melodies *m, t_noteLength l) {
return m->quarterLength >> 4; return m->quarterLength >> 4;
} }
} }
#pragma GCC diagnostic pop // #pragma GCC diagnostic pop
void sequencerExec(void *handle) { void sequencerExec(void *handle) {