fix build with log for device

This commit is contained in:
hathach
2021-06-13 16:16:25 +07:00
parent 1af64f9729
commit bd039c8d37
2 changed files with 10 additions and 27 deletions

View File

@@ -194,7 +194,7 @@ void hw_endpoint_xfer_start(struct hw_endpoint *ep, uint8_t *buffer, uint16_t to
// Fill in info now that we're kicking off the hw
ep->remaining_len = total_len;
ep->xferred_len = 0;
ep->xferred_len = 0;
ep->active = true;
ep->user_buf = buffer;