We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 347b67a commit 5835806Copy full SHA for 5835806
src/midi_UsbPacketInterface.hpp
@@ -35,7 +35,7 @@ bool composeTxPacket(Buffer& inBuffer, midiEventPacket_t& outPacket)
35
if (inBuffer.isEmpty()) {
36
return false;
37
}
38
- int bufferLength = inBuffer.getLength();
+ const int bufferLength = inBuffer.getLength();
39
const byte status = inBuffer.peek();
40
const byte cin = midi::CodeIndexNumbers::fromStatus(status);
41
const byte messageLength = midi::CodeIndexNumbers::getSize(cin);
0 commit comments