We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d85040 commit df07391Copy full SHA for df07391
src/midi_interface.h
@@ -44,7 +44,6 @@
44
#endif
45
46
47
-
48
#if defined(ML_SYNTH_INLINE_DECLARATION) || defined(ML_SYNTH_INLINE_DEFINITION)
49
#ifndef MIDI_INTERFACE_H
50
#define MIDI_INTERFACE_H
@@ -60,7 +59,6 @@
60
59
61
62
63
64
/*
65
* structure is used to build the mapping table
66
*/
@@ -727,7 +725,7 @@ void Midi_SendRaw(uint8_t *msg)
727
725
MidiPort2.serial->write(msg, 3);
728
726
}
729
730
-#endif /* MIDI_TX2_PIN */
+#else /* MIDI_TX2_PIN */
731
732
#ifdef MIDI_TX1_PIN
733
void Midi_SendShortMessage(uint8_t *msg)
@@ -765,6 +763,7 @@ void Midi_SendRaw(uint8_t *msg)
765
763
766
764
767
#endif /* MIDI_TX1_PIN */
+#endif /* MIDI_TX2_PIN */
768
769
770
0 commit comments