diff options
| author | hathach <[email protected]> | 2024-04-25 20:23:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-04-25 20:23:40 +0700 |
| commit | 2e995d7cf4b2971e3ca7167a097b99832c8d61ce (patch) | |
| tree | 7895e6ba2a2e4f34b42af14930dea5be698a9e3b /src/portable | |
| parent | fc91e15488523548b6eafa63a3cb6190c1ba72d8 (diff) | |
adding support for esp32 for use with max3421e host
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/analog/max3421/hcd_max3421.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/analog/max3421/hcd_max3421.c b/src/portable/analog/max3421/hcd_max3421.c index 39afb7505..053169bf2 100644 --- a/src/portable/analog/max3421/hcd_max3421.c +++ b/src/portable/analog/max3421/hcd_max3421.c @@ -484,8 +484,8 @@ bool hcd_init(uint8_t rhport) { // v1 is 0x01, v2 is 0x12, v3 is 0x13 uint8_t const revision = reg_read(rhport, REVISION_ADDR, false); - TU_ASSERT(revision == 0x01 || revision == 0x12 || revision == 0x13, false); TU_LOG2_HEX(revision); + TU_ASSERT(revision == 0x01 || revision == 0x12 || revision == 0x13, false); // reset reg_write(rhport, USBCTL_ADDR, USBCTL_CHIPRES, false); |
