mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-21 03:40:52 +00:00
house keeping
This commit is contained in:
parent
ef9eb1f2fa
commit
b833203528
@ -299,8 +299,7 @@ static void queue_td_init(ehci_qtd_t* p_qtd, uint32_t data_ptr, uint16_t total_b
|
|||||||
|
|
||||||
p_qtd->buffer[0] = data_ptr;
|
p_qtd->buffer[0] = data_ptr;
|
||||||
|
|
||||||
uint8_t i;
|
for(uint8_t i=1; i<5; i++)
|
||||||
for(i=1; i<5; i++)
|
|
||||||
{
|
{
|
||||||
p_qtd->buffer[i] |= align4k( p_qtd->buffer[i-1] ) + 4096;
|
p_qtd->buffer[i] |= align4k( p_qtd->buffer[i-1] ) + 4096;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user