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 7d11a2b commit a7aa530Copy full SHA for a7aa530
cores/arduino/USB/USBCore.h
@@ -19,6 +19,8 @@
19
#ifndef __USBCORE_H__
20
#define __USBCORE_H__
21
22
+#include "USBDesc.h"
23
+
24
// Standard requests
25
#define GET_STATUS 0
26
#define CLEAR_FEATURE 1
@@ -226,7 +228,9 @@ typedef struct
226
228
typedef struct
227
229
{
230
// IAD
231
+#if !defined(CDC_ONLY)
232
IADDescriptor iad; // Only needed on compound device
233
+#endif
234
// Control
235
InterfaceDescriptor cif;
236
CDCCSInterfaceDescriptor header;
0 commit comments