summaryrefslogtreecommitdiff
path: root/src/tusb.h
diff options
context:
space:
mode:
authorScott Shawcroft <[email protected]>2018-11-16 17:03:33 -0800
committerScott Shawcroft <[email protected]>2019-01-04 12:16:27 -0800
commita3173b8de48b37e802d4de45821d2efbf54b1652 (patch)
treeb5ae0e2a2479f3fd401334c8c91e6e8fd9ac70b6 /src/tusb.h
parent6ed96cb93b92acf7cce3bd6b84dc5cd8882486c4 (diff)
Add USB Midi support.
It also introduces a txbuffer which copies data into it but passes the buffer straight to the USB rather than another copy.
Diffstat (limited to 'src/tusb.h')
-rw-r--r--src/tusb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tusb.h b/src/tusb.h
index 389bf54d4..fb20c5ff7 100644
--- a/src/tusb.h
+++ b/src/tusb.h
@@ -89,6 +89,10 @@
#include "class/msc/msc_device.h"
#endif
+ #if CFG_TUD_MIDI
+ #include "class/midi/midi_device.h"
+ #endif
+
#if CFG_TUD_CUSTOM_CLASS
#include "class/custom/custom_device.h"
#endif
@@ -128,4 +132,3 @@ static inline void tusb_task(void)
#endif
#endif /* _TUSB_H_ */
-