Skip to content

Commit 29a9ee3

Browse files
committed
More revert
1 parent 16d3ba1 commit 29a9ee3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/class/cdc/cdc_device.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ typedef struct
7171

7272
}cdcd_interface_t;
7373

74+
#define ITF_MEM_RESET_SIZE offsetof(cdcd_interface_t, wanted_char)
7475

7576
//--------------------------------------------------------------------+
7677
// INTERNAL OBJECT & FUNCTION DECLARATION
@@ -214,7 +215,7 @@ bool tud_cdc_n_write_clear (uint8_t itf)
214215
{
215216
return tu_fifo_clear(&_cdcd_itf[itf].tx_ff);
216217
}
217-
#define STR(s) #s
218+
218219
//--------------------------------------------------------------------+
219220
// USBD Driver API
220221
//--------------------------------------------------------------------+

0 commit comments

Comments
 (0)