Skip to content

Commit 794ee97

Browse files
authored
Update USBCDC.h to support ZLP
1 parent 30c2ea2 commit 794ee97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/usb/include/usb/USBCDC.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ class USBCDC: public USBDevice {
230230
uint8_t _rx_buffer[CDC_MAX_PACKET_SIZE];
231231
uint8_t *_rx_buf;
232232
uint32_t _rx_size;
233+
bool _trans_zlp;
233234
};
234235

235236
/** @}*/

0 commit comments

Comments
 (0)