Update USBCDC.h to support ZLP

pull/15473/head
Chris Liang 2023-12-01 20:17:06 +08:00 committed by GitHub
parent 30c2ea2cbc
commit 794ee9704f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -230,6 +230,7 @@ protected:
uint8_t _rx_buffer[CDC_MAX_PACKET_SIZE];
uint8_t *_rx_buf;
uint32_t _rx_size;
bool _trans_zlp;
};
/** @}*/