diff --git a/src/midi_Message.h b/src/midi_Message.h index 1c3a3cd..a292bc9 100644 --- a/src/midi_Message.h +++ b/src/midi_Message.h @@ -43,6 +43,13 @@ struct Message */ static const unsigned sSysExMaxSize = SysExMaxSize; + /*! Static method accessor for SysEx max size, used for unit tests. + */ + static inline unsigned getSysExMaxSize() + { + return SysExMaxSize; + } + /*! The MIDI channel on which the message was recieved. \n Value goes from 1 to 16. */