Skip to content

Commit ff94a77

Browse files
author
Francois Best
authored
Disabled running status by default.
Relates to #38, #39, #41, #49.
1 parent 5f7fa5d commit ff94a77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/midi_Settings.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ BEGIN_MIDI_NAMESPACE
4141
\code{.cpp}
4242
struct MySettings : public midi::DefaultSettings
4343
{
44-
static const bool UseRunningStatus = false; // Messes with my old equipment!
44+
static const unsigned SysExMaxSize = 1024; // Accept SysEx messages up to 1024 bytes long.
4545
};
4646
4747
MIDI_CREATE_CUSTOM_INSTANCE(HardwareSerial, Serial2, midi, MySettings);
@@ -51,9 +51,9 @@ struct DefaultSettings
5151
{
5252
/*! Running status enables short messages when sending multiple values
5353
of the same type and channel.\n
54-
Set to false if you have troubles controlling your hardware.
54+
Warning: does not work with some hardware, enable with caution.
5555
*/
56-
static const bool UseRunningStatus = true;
56+
static const bool UseRunningStatus = false;
5757

5858
/*! NoteOn with 0 velocity should be handled as NoteOf.\n
5959
Set to true to get NoteOff events when receiving null-velocity NoteOn messages.\n

0 commit comments

Comments
 (0)