projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove remaining void* descriptor casts in the projects and demos that were not remov...
[pub/USBasp.git]
/
Demos
/
Device
/
LowLevel
/
Mouse
/
Descriptors.c
diff --git
a/Demos/Device/LowLevel/Mouse/Descriptors.c
b/Demos/Device/LowLevel/Mouse/Descriptors.c
index
66fdde1
..
70538fe
100644
(file)
--- a/
Demos/Device/LowLevel/Mouse/Descriptors.c
+++ b/
Demos/Device/LowLevel/Mouse/Descriptors.c
@@
-238,11
+238,11
@@
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
break;
case DTYPE_HID:
break;
case DTYPE_HID:
- Address =
(void*)
&ConfigurationDescriptor.HID_MouseHID;
+ Address = &ConfigurationDescriptor.HID_MouseHID;
Size = sizeof(USB_Descriptor_HID_t);
break;
case DTYPE_Report:
Size = sizeof(USB_Descriptor_HID_t);
break;
case DTYPE_Report:
- Address =
(void*)
&MouseReport;
+ Address = &MouseReport;
Size = sizeof(MouseReport);
break;
}
Size = sizeof(MouseReport);
break;
}