Remove remaining void* descriptor casts in the projects and demos that were not removed when the GetDescriptor callback function's signature was altered.
This commit is contained in:
parent
263178fbb6
commit
b3c6599bb7
7 changed files with 28 additions and 27 deletions
|
@ -238,11 +238,11 @@ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
|
|||
|
||||
break;
|
||||
case DTYPE_HID:
|
||||
Address = (void*)&ConfigurationDescriptor.HID_MouseHID;
|
||||
Address = &ConfigurationDescriptor.HID_MouseHID;
|
||||
Size = sizeof(USB_Descriptor_HID_t);
|
||||
break;
|
||||
case DTYPE_Report:
|
||||
Address = (void*)&MouseReport;
|
||||
Address = &MouseReport;
|
||||
Size = sizeof(MouseReport);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue