Skip to content

Commit 767409c

Browse files
committed
VS1053_EXT beginMIDI()
1 parent d1b2525 commit 767409c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/AudioLibs/VS1053Stream.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,15 +241,16 @@ class VS1053Stream : public AudioStreamX {
241241
}
242242

243243
switch(cfg.mode){
244-
case MIDI_MODE:
245-
getVS1053().beginMIDI();
246-
return true;
247244

248245
case TX_MODE:
249246
p_out->begin(cfg);
250247
p_driver->begin();
251248
return true;
252249
#if VS1053_EXT
250+
case MIDI_MODE:
251+
getVS1053().beginMIDI();
252+
return true;
253+
253254
case RX_MODE:
254255
getVS1053().beginInput(cfg.is_encoded_data);
255256
return true;

0 commit comments

Comments
 (0)