Fixed build.
This commit is contained in:
parent
69604e458b
commit
573bd35e8a
|
|
@ -33,6 +33,7 @@
|
|||
MIDI_SOFTSERIAL_TX_PIN);
|
||||
# else
|
||||
# error Todo: implement SoftwareSerial for avr core.
|
||||
# endif
|
||||
# undef MIDI_SERIAL_PORT
|
||||
# define MIDI_SERIAL_PORT softSerialClass
|
||||
# else
|
||||
|
|
|
|||
|
|
@ -143,14 +143,14 @@ void MidiInterface::sendSysEx(unsigned int inLength,
|
|||
{
|
||||
MIDI_SERIAL_PORT.write(0xF0);
|
||||
|
||||
for (int i=0;i<inLength;++i)
|
||||
for (unsigned int i=0;i<inLength;++i)
|
||||
MIDI_SERIAL_PORT.write(inArray[i]);
|
||||
|
||||
MIDI_SERIAL_PORT.write(0xF7);
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i=0;i<inLength;++i)
|
||||
for (unsigned int i=0;i<inLength;++i)
|
||||
MIDI_SERIAL_PORT.write(inArray[i]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue