Browse Source

Fix wLength for first control transfer test

main
PaulStoffregen 7 years ago
parent
commit
92404ec121
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      k66_usbhost.ino

+ 1
- 1
k66_usbhost.ino View File

dev->setup.bRequest = 0x06; // 6=GET_DESCRIPTOR dev->setup.bRequest = 0x06; // 6=GET_DESCRIPTOR
dev->setup.wValue = 0x0100; dev->setup.wValue = 0x0100;
dev->setup.wIndex = 0x0000; dev->setup.wIndex = 0x0000;
dev->setup.wLength = 0;
dev->setup.wLength = 8;
Transfer_t *transfer = new_Transfer(dev->control_pipe, buffer, 8); Transfer_t *transfer = new_Transfer(dev->control_pipe, buffer, 8);
//print(dev->control_pipe); //print(dev->control_pipe);
if (transfer) queue_Transfer(transfer); if (transfer) queue_Transfer(transfer);

Loading…
Cancel
Save