aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/Joystick/Descriptors.h
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/ClassDriver/Joystick/Descriptors.h')
-rw-r--r--Demos/Device/ClassDriver/Joystick/Descriptors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/Joystick/Descriptors.h b/Demos/Device/ClassDriver/Joystick/Descriptors.h
index fc8cbe537f..fe99395761 100644
--- a/Demos/Device/ClassDriver/Joystick/Descriptors.h
+++ b/Demos/Device/ClassDriver/Joystick/Descriptors.h
@@ -65,7 +65,7 @@
/* Function Prototypes: */
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
const uint8_t wIndex,
- void** const DescriptorAddress)
+ const void** const DescriptorAddress)
ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);
#endif