File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ typedef struct _usbd_cdc_itf_t {
4343 uint16_t rx_buf_get ; // circular buffer index
4444
4545 uint8_t tx_buf [USBD_CDC_TX_DATA_SIZE ]; // data for USB IN endpoind is stored in this buffer
46- uint16_t tx_buf_ptr_in ; // increment this pointer modulo APP_TX_DATA_SIZE when new data is available
47- volatile uint16_t tx_buf_ptr_out ; // increment this pointer modulo APP_TX_DATA_SIZE when data is drained
46+ uint16_t tx_buf_ptr_in ; // increment this pointer modulo USBD_CDC_TX_DATA_SIZE when new data is available
47+ volatile uint16_t tx_buf_ptr_out ; // increment this pointer modulo USBD_CDC_TX_DATA_SIZE when data is drained
4848 uint16_t tx_buf_ptr_out_shadow ; // shadow of above
4949 uint8_t tx_buf_ptr_wait_count ; // used to implement a timeout waiting for low-level USB driver
5050 uint8_t tx_need_empty_packet ; // used to flush the USB IN endpoint if the last packet was exactly the endpoint packet size
You can’t perform that action at this time.
0 commit comments