From e486667d8a6e8d1be7b6a6418110ebd27b78a4da Mon Sep 17 00:00:00 2001 From: Jacek Roszkowski Date: Fri, 22 Jun 2018 20:47:13 +0200 Subject: [PATCH] Corrected typo: Lenght - Length --- src/MIDI.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MIDI.hpp b/src/MIDI.hpp index e5f7ab5..03b9a72 100644 --- a/src/MIDI.hpp +++ b/src/MIDI.hpp @@ -770,7 +770,7 @@ bool MidiInterface::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; @@ -1047,7 +1047,7 @@ inline const byte* MidiInterface::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.