mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-24 09:02:37 +00:00
ohci: Fix bug in ed removal
This commit is contained in:
parent
e89e8ba392
commit
cc9c3feeae
@ -383,6 +383,7 @@ static void ed_list_remove_by_addr(ohci_ed_t * p_head, uint8_t dev_addr)
|
|||||||
// point the removed ED's next pointer to list head to make sure HC can always safely move away from this ED
|
// point the removed ED's next pointer to list head to make sure HC can always safely move away from this ED
|
||||||
ed->next = (uint32_t) p_head;
|
ed->next = (uint32_t) p_head;
|
||||||
ed->used = 0;
|
ed->used = 0;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// check next valid since we could remove it
|
// check next valid since we could remove it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user