diff options
| author | hathach <[email protected]> | 2022-03-12 14:28:24 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-03-12 14:28:24 +0700 |
| commit | 56695569e7d9ebf39ffb2152aba4b4b9f0801d2d (patch) | |
| tree | 5be7d6f78ce0fd792739a407acb8340f88532b5f | |
| parent | ac4483a7c53cd35b61b59cf69168e31ceac977a1 (diff) | |
minor changes
| -rw-r--r-- | src/host/usbh.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index 16366b33f..7485bb065 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -1011,8 +1011,7 @@ static bool process_enumeration(uint8_t dev_addr, tuh_control_xfer_t const * xfe return false; } - uint32_t const state = (uint32_t) xfer->user_arg; - + uintptr_t const state = xfer->user_arg; switch(state) { #if CFG_TUH_HUB |
