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 16d3ba1 commit 29a9ee3Copy full SHA for 29a9ee3
src/class/cdc/cdc_device.c
@@ -71,6 +71,7 @@ typedef struct
71
72
}cdcd_interface_t;
73
74
+#define ITF_MEM_RESET_SIZE offsetof(cdcd_interface_t, wanted_char)
75
76
//--------------------------------------------------------------------+
77
// INTERNAL OBJECT & FUNCTION DECLARATION
@@ -214,7 +215,7 @@ bool tud_cdc_n_write_clear (uint8_t itf)
214
215
{
216
return tu_fifo_clear(&_cdcd_itf[itf].tx_ff);
217
}
-#define STR(s) #s
218
+
219
220
// USBD Driver API
221
0 commit comments