[HUST CSE][NXP][imx6sx] memset函数使用错误

This commit is contained in:
yxf 2023-04-27 12:02:16 +08:00 committed by GitHub
parent 8dfcf07c24
commit 4ab43ca98f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ uint_8 USB_DCI_Init(
printf_info("%s\n", __func__);
g_dci_controller_Id[controller_ID] = controller_ID;
memset(qh_buf, 0x0, sizeof(qh_buf));
memset(qh_buf, 0x0, TOTAL_QHD_SIZE);
// Initialize hardware
status = usbd_mx6_dev_init(controller_ID);