modify class request print log

This commit is contained in:
sakumisu
2021-11-09 10:28:10 +08:00
parent 936dda1df5
commit bb5f7e434b
8 changed files with 58 additions and 53 deletions

View File

@@ -27,9 +27,9 @@ extern struct video_probe_and_commit_controls commit;
int video_class_request_handler(struct usb_setup_packet *setup, uint8_t **data, uint32_t *len)
{
USBD_LOG_DBG("Class request:"
"bRequest 0x%02x, bmRequestType 0x%02x len %d",
setup->bRequest, setup->bmRequestType, *len);
USBD_LOG_DBG("VIDEO Class request: "
"bRequest 0x%02x\r\n",
setup->bRequest);
switch (setup->bRequest) {
case VIDEO_REQUEST_SET_CUR: