modify print log,add USBD_LOG_INFO forever print

This commit is contained in:
sakumisu
2021-11-13 13:09:22 +08:00
parent 27bbaa0e0e
commit 5a22e7a57b
9 changed files with 87 additions and 61 deletions

View File

@@ -28,8 +28,8 @@ int dfu_class_request_handler(struct usb_setup_packet *setup, uint8_t **data, ui
case DFU_REQUEST_ABORT:
break;
default:
USBD_LOG_ERR("Unhandled request 0x%02x", setup->bRequest);
break;
USBD_LOG_WRN("Unhandled DFU Class bRequest 0x%02x\r\n", setup->bRequest);
return -1;
}
return 0;