Merge pull request #675 from majbthrd/rp2040epaddr

rp2040: use TU endpoint conventions and remove redundant variables
This commit is contained in:
Ha Thach
2021-02-27 00:38:53 +07:00
committed by GitHub
3 changed files with 22 additions and 27 deletions

View File

@@ -42,10 +42,6 @@ struct hw_endpoint
{
// Is this a valid struct
bool configured;
// EP direction
bool in;
// EP num (not including direction)
uint8_t num;
// Transfer direction (i.e. IN is rx for host but tx for device)
// allows us to common up transfer functions