Browse Source

Fix periodic list init when diffent sizes used

main
PaulStoffregen 7 years ago
parent
commit
50016717b3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ehci.cpp

+ 1
- 1
ehci.cpp View File

//println(" reset waited ", count); //println(" reset waited ", count);


init_Device_Pipe_Transfer_memory(); init_Device_Pipe_Transfer_memory();
for (int i=0; i < 32; i++) {
for (int i=0; i < PERIODIC_LIST_SIZE; i++) {
periodictable[i] = 1; periodictable[i] = 1;
} }
memset(uframe_bandwidth, 0, sizeof(uframe_bandwidth)); memset(uframe_bandwidth, 0, sizeof(uframe_bandwidth));

Loading…
Cancel
Save