mirror of https://github.com/ARMmbed/mbed-os.git
Update USBCDC.h to support ZLP
parent
30c2ea2cbc
commit
794ee9704f
|
@ -230,6 +230,7 @@ protected:
|
||||||
uint8_t _rx_buffer[CDC_MAX_PACKET_SIZE];
|
uint8_t _rx_buffer[CDC_MAX_PACKET_SIZE];
|
||||||
uint8_t *_rx_buf;
|
uint8_t *_rx_buf;
|
||||||
uint32_t _rx_size;
|
uint32_t _rx_size;
|
||||||
|
bool _trans_zlp;
|
||||||
};
|
};
|
||||||
|
|
||||||
/** @}*/
|
/** @}*/
|
||||||
|
|
Loading…
Reference in New Issue