This commit is contained in:
Francois Best 2014-04-16 08:33:38 +02:00
parent e3dd2272e2
commit 1813094735
1 changed files with 1 additions and 6 deletions

View File

@ -509,9 +509,7 @@ inline bool MidiInterface<SerialPort>::read(Channel inChannel)
template<class SerialPort>
bool MidiInterface<SerialPort>::parse()
{
const byte bytes_available = mSerial.available();
if (bytes_available == 0)
if (mSerial.available() == 0)
// No data available.
return false;
@ -779,9 +777,6 @@ bool MidiInterface<SerialPort>::parse()
#endif
}
}
// What are our chances to fall here?
return false;
}
// Private method, see midi_Settings.h for documentation