add blemidi_callback example
This commit is contained in:
1 parent
d873a6c5ed
commit
d342f4a6a2
3 files changed
+153
-8
No files matched your search
@@ -146,6 +146,9 @@ void BLEMidi::_write_handler(uint8_t* data, uint16_t len)
|
||||
header.byte = *data++;
|
||||
len--;
|
||||
|
||||
// not support SysEx
|
||||
if ( data[0] == 0xF0 ) return;
|
||||
|
||||
while (len)
|
||||
{
|
||||
/* event : 0x00 - 0x7F
|
||||
|
||||
Reference in new issue
Block a user