From 573bd35e8a6de3a491f990b5dc412e14dc87aebd Mon Sep 17 00:00:00 2001 From: Francois Best Date: Thu, 6 Sep 2012 20:43:20 +0200 Subject: [PATCH] Fixed build. --- src/MIDI.cpp | 1 + src/midi_Inline.hpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/MIDI.cpp b/src/MIDI.cpp index c223443..f776846 100644 --- a/src/MIDI.cpp +++ b/src/MIDI.cpp @@ -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 diff --git a/src/midi_Inline.hpp b/src/midi_Inline.hpp index 9b01df1..f26c3c8 100644 --- a/src/midi_Inline.hpp +++ b/src/midi_Inline.hpp @@ -143,14 +143,14 @@ void MidiInterface::sendSysEx(unsigned int inLength, { MIDI_SERIAL_PORT.write(0xF0); - for (int i=0;i