Browse Source

Fix USB BDT clear at startup on Teensy 3.x

https://forum.pjrc.com/threads/61410
teensy4-core
PaulStoffregen 4 years ago
parent
commit
9357593567
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy3/usb_dev.c

+ 1
- 1
teensy3/usb_dev.c View File

@@ -1169,7 +1169,7 @@ void usb_init(void)

usb_init_serialnumber();

for (i=0; i <= NUM_ENDPOINTS*4; i++) {
for (i=0; i < (NUM_ENDPOINTS+1)*4; i++) {
table[i].desc = 0;
table[i].addr = 0;
}

Loading…
Cancel
Save