MIDI encoder fix

This commit is contained in:
Jack Andersen 2017-03-23 19:28:05 -10:00
parent 54bbc7399a
commit 3d56d5f0cc
1 changed files with 2 additions and 2 deletions

View File

@ -341,8 +341,8 @@ class MIDIEncoder
void _sendContinuedValue(uint32_t val) void _sendContinuedValue(uint32_t val)
{ {
uint32_t send[3] = {}; uint8_t send[3] = {};
uint32_t* ptr = nullptr; uint8_t* ptr = nullptr;
if (val >= 0x4000) if (val >= 0x4000)
{ {
ptr = &send[0]; ptr = &send[0];