diff --git a/UI.hpp b/UI.hpp index 9bb3790..f331e8f 100644 --- a/UI.hpp +++ b/UI.hpp @@ -4536,7 +4536,6 @@ void UI_func_drum_midi_note(uint8_t param) { if (LCDML.FUNC_loop()) // ****** LOOP ********* { - if (midi_learn_mode >= DRUMS_MIDI_NOTE_MIN) configuration.drums.midinote[active_sample] = midi_learn_mode; diff --git a/third-party/TeensyVariablePlayback/src/playresmp.h b/third-party/TeensyVariablePlayback/src/playresmp.h index 12df93f..984c5c8 100644 --- a/third-party/TeensyVariablePlayback/src/playresmp.h +++ b/third-party/TeensyVariablePlayback/src/playresmp.h @@ -91,7 +91,7 @@ class AudioPlayResmp : public AudioStream if (_numChannels == -1) return; - unsigned int i, n; + unsigned int n; audio_block_t *blocks[_numChannels]; int16_t *data[_numChannels]; // only update if we're playing @@ -136,4 +136,4 @@ class AudioPlayResmp : public AudioStream TResamplingReader *reader; }; -#endif // TEENSY_RESAMPLING_SDREADER_PLAYRESMP_H \ No newline at end of file +#endif // TEENSY_RESAMPLING_SDREADER_PLAYRESMP_H