rp2040: use TU endpoint conventions and remove redundant variables

This commit is contained in:
Peter Lawrence
2021-02-23 12:06:41 -06:00
parent 99d3a32ba2
commit c5422a5c48
3 changed files with 21 additions and 26 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