| uint8_t * getSysExArray(void) __attribute__((always_inline)) { | uint8_t * getSysExArray(void) __attribute__((always_inline)) { | ||||
| return usb_midi_msg_sysex; | return usb_midi_msg_sysex; | ||||
| } | } | ||||
| uint16_t getSysExArrayLength(void) __attribute__((always_inline)) { | |||||
| return usb_midi_msg_data2 << 8 | usb_midi_msg_data1; | |||||
| } | |||||
| void setHandleNoteOff(void (*fptr)(uint8_t channel, uint8_t note, uint8_t velocity)) { | void setHandleNoteOff(void (*fptr)(uint8_t channel, uint8_t note, uint8_t velocity)) { | ||||
| // type: 0x80 NoteOff | // type: 0x80 NoteOff | ||||
| usb_midi_handleNoteOff = fptr; | usb_midi_handleNoteOff = fptr; |