diff options
| author | hathach <[email protected]> | 2025-11-05 19:56:54 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-11-06 21:30:52 +0700 |
| commit | 86a4990b96eafb5904f946fa061b310f155a7d51 (patch) | |
| tree | c33703a9713b178d30837c388d3fe092184d8b91 /src/portable | |
| parent | 6641550f58cd2f983ebb42a28dd881a72d72bc6f (diff) | |
fix more alerts
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/ehci/ehci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/ehci/ehci.c b/src/portable/ehci/ehci.c index 973bb43cc..c33c970e4 100644 --- a/src/portable/ehci/ehci.c +++ b/src/portable/ehci/ehci.c @@ -920,7 +920,7 @@ static void qhd_init(ehci_qhd_t *p_qhd, uint8_t dev_addr, tusb_desc_endpoint_t c // sub millisecond interval p_qhd->interval_ms = 0; p_qhd->int_smask = (interval == 1) ? 0xff : // 0b11111111 - (interval == 2) ? 0xaa /* 0b10101010 */ : 0x44 /* 01000100 */; + (interval == 2) ? 0xaa /* 0b10101010 */ : 0x44 /* 0b01000100 */; } else { p_qhd->interval_ms = (uint8_t) tu_min16(1 << (interval - 4), 255); p_qhd->int_smask = TU_BIT(interval % 8); |
