diff options
| author | HiFiPhile <[email protected]> | 2025-04-12 15:21:19 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2025-04-12 15:21:42 +0200 |
| commit | af0c47e06ec079ffa80ea55ff5de58c08ac1e750 (patch) | |
| tree | 0ce3aef234061a1c80c361c47b18744a986336c0 /src/portable | |
| parent | aecfd3433c6c235d632636f2936c7df180e9d12a (diff) | |
Fix typo
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/synopsys/dwc2/hcd_dwc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/synopsys/dwc2/hcd_dwc2.c b/src/portable/synopsys/dwc2/hcd_dwc2.c index 3acdf580d..8f1103415 100644 --- a/src/portable/synopsys/dwc2/hcd_dwc2.c +++ b/src/portable/synopsys/dwc2/hcd_dwc2.c @@ -543,7 +543,7 @@ static bool channel_xfer_start(dwc2_regs_t* dwc2, uint8_t ch_id) { hcd_endpoint_t* edpt = &_hcd_data.edpt[xfer->ep_id]; dwc2_channel_char_t* hcchar_bm = &edpt->hcchar_bm; dwc2_channel_t* channel = &dwc2->channel[ch_id]; - bool const is_period = channel_is_periodic(hcchar_bm->ep_type); + bool const is_period = channel_is_periodic(edpt->hcchar); // clear previous state xfer->fifo_bytes = 0; |
