Skip to content

Commit

Permalink
Corrected typo: Lenght - Length
Browse files Browse the repository at this point in the history
  • Loading branch information
jarosz committed Jun 22, 2018
1 parent 5847467 commit e486667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MIDI.hpp
Expand Up @@ -770,7 +770,7 @@ bool MidiInterface<SerialPort, Settings>::parse()
break;

case SystemExclusive:
// The message can be any lenght
// The message can be any length
// between 3 and MidiMessage::sSysExMaxSize bytes
mPendingMessageExpectedLength = MidiMessage::sSysExMaxSize;
mRunningStatus_RX = InvalidType;
Expand Down Expand Up @@ -1047,7 +1047,7 @@ inline const byte* MidiInterface<SerialPort, Settings>::getSysExArray() const
return mMessage.sysexArray;
}

/*! \brief Get the lenght of the System Exclusive array.
/*! \brief Get the length of the System Exclusive array.
It is coded using data1 as LSB and data2 as MSB.
\return The array's length, in bytes.
Expand Down

0 comments on commit e486667

Please sign in to comment.