house keeping

This commit is contained in:
hathach 2013-03-09 14:38:35 +07:00
parent ef9eb1f2fa
commit b833203528
1 changed files with 13 additions and 14 deletions

View File

@ -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;
uint8_t i;
for(i=1; i<5; i++)
for(uint8_t i=1; i<5; i++)
{
p_qtd->buffer[i] |= align4k( p_qtd->buffer[i-1] ) + 4096;
}