rename hw endpoint

- total_len to remaining_len
- len to xferred_len
This commit is contained in:
hathach
2021-06-11 17:58:29 +07:00
parent 5d6e381ef6
commit 1d48320d8a
4 changed files with 41 additions and 49 deletions

View File

@@ -62,10 +62,12 @@ struct hw_endpoint
// Current transfer information
bool active;
uint16_t total_len;
uint16_t len;
uint16_t remaining_len;
uint16_t xferred_len;
// Amount of data with the hardware
uint16_t buflen[2];
uint16_t transfer_size; // buf0_len;
uint16_t buf_1_len;