Fix TX test

This commit is contained in:
Ed
2024-04-29 12:15:17 +01:00
parent d429068bcf
commit 28a530685f
4 changed files with 15 additions and 9 deletions

View File

@@ -3,10 +3,11 @@
#ifndef MIDIOUTPARSE_XH
#define MIDIOUTPARSE_XH
#warning MAYBE A SYSEX START AND FINISH IS SAFEST FOR NULL?
#define MIDI_OUT_NULL_MESSAGE 0x00000000 // midi_out_parse will return a size of 0 for this invalid message/event
// If for any reason we pop a message when not needed (should never happen) this will cause midiparse out to send a size of 0 (drops packet)
#define MIDI_OUT_NULL_MESSAGE 0x00000000
#ifdef __XC__
// Takes a MIDI packet and decomoses it into up to 3 data bytes followed by a byte count.
{unsigned, unsigned, unsigned, unsigned} midi_out_parse(unsigned event);
#endif