edpt_close: Remove item from queue instead of modifying it.

This commit is contained in:
Nathan Conrad
2020-04-13 11:05:34 -04:00
parent f8e7487355
commit de208b31cf
2 changed files with 5 additions and 9 deletions

View File

@@ -66,7 +66,7 @@ typedef struct TU_ATTR_ALIGNED(4)
// USBD_EVT_XFER_COMPLETE
struct {
uint8_t ep_addr; ///< 0xFF signifies that the transfer was aborted.
uint8_t ep_addr;
uint8_t result;
uint32_t len;
}xfer_complete;