We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 285366b commit 80b6facCopy full SHA for 80b6fac
src/MIDIUSB.h
@@ -56,9 +56,13 @@
56
57
#elif defined(ARDUINO_ARCH_SAMD)
58
59
+#if defined(ARDUINO_API_VERSION)
60
+#include "api/PluggableUSB.h"
61
+#define EPTYPE_DESCRIPTOR_SIZE unsigned int
62
+#else
63
#include "USB/PluggableUSB.h"
-
64
#define EPTYPE_DESCRIPTOR_SIZE uint32_t
65
+#endif
66
#define EP_TYPE_BULK_IN_MIDI USB_ENDPOINT_TYPE_BULK | USB_ENDPOINT_IN(0);
67
#define EP_TYPE_BULK_OUT_MIDI USB_ENDPOINT_TYPE_BULK | USB_ENDPOINT_OUT(0);
68
#define MIDI_BUFFER_SIZE EPX_SIZE
0 commit comments