aboutsummaryrefslogtreecommitdiff
path: root/USBMidiTransport.c
diff options
context:
space:
mode:
authorDonald Delmar Davis <don@suspectdevices.com>2013-10-01 23:20:43 -0700
committerDonald Delmar Davis <don@suspectdevices.com>2013-10-01 23:20:43 -0700
commit9b8352eda27da7084d05be29dc184f6d7e9f5d3e (patch)
treefc21fbc3b0c0f621f53907a99fd4d65700857ef5 /USBMidiTransport.c
parenta4e5fb01bab9030b7aea46f4ef9bf371d07130d6 (diff)
Add Hardware...
Diffstat (limited to 'USBMidiTransport.c')
-rwxr-xr-xUSBMidiTransport.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/USBMidiTransport.c b/USBMidiTransport.c
index 192bbe8..7b4ec6a 100755
--- a/USBMidiTransport.c
+++ b/USBMidiTransport.c
@@ -87,6 +87,9 @@ uint8_t * GetUSBSysex (void) {
return mySysexBuffer;
};
+/*
+ * This could probably be a lot cleaner.
+ */
void SendUSBSysex (uint8_t *messege) {
uint8_t len=strlen(messege);
uint8_t index=0;
@@ -151,6 +154,9 @@ void SendUSBSysex (uint8_t *messege) {
MIDI_Device_Flush(&USB_MIDI_Interface);
}
+/*
+ * we actually do the usb polling here and handle any sysex's
+ */
bool USBMidiEventAvailable (void)
{
bool retVal=false;