Skip to content

Commit

Permalink
Set interface request require status in. related to issue #20
Browse files Browse the repository at this point in the history
  • Loading branch information
xtoolbox committed Nov 7, 2021
1 parent fefc81c commit 1ba9236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/teeny_usb_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ static int tusb_std_interface_request(tusb_device_t *dev, tusb_setup_packet *set
tusb_init_endpoint_by_config(dev);
}
TUSB_LOGW("Interface, set interface %d, alt = %d\n", setup_req->wIndex, setup_req->wValue);
tusb_control_send(dev, &dev->temp_buffer, 1);
tusb_send_status(dev);
return 1;
}
TUSB_LOGW("Interface, set unknown interface %d\n", setup_req->wIndex);
Expand Down

0 comments on commit 1ba9236

Please sign in to comment.