X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/6bda628718f67c04ed43e8328f55bdce5319c504..bea72a8412f99b294c00341fa16a8308bcc66f15:/Demos/Device/Incomplete/Sideshow/Descriptors.h diff --git a/Demos/Device/Incomplete/Sideshow/Descriptors.h b/Demos/Device/Incomplete/Sideshow/Descriptors.h index 4d672c0ce..5ba737b38 100644 --- a/Demos/Device/Incomplete/Sideshow/Descriptors.h +++ b/Demos/Device/Incomplete/Sideshow/Descriptors.h @@ -64,12 +64,12 @@ { uint8_t FirstInterfaceNumber; - uint8_t RESERVED; + uint8_t Reserved; uint8_t CompatibleID[8]; uint8_t SubCompatibleID[8]; - uint8_t RESERVED2[6]; + uint8_t Reserved2[6]; } USB_OSCompatibleSection_t; typedef struct @@ -79,7 +79,7 @@ uint16_t Index; uint8_t TotalSections; - uint8_t RESERVED[7]; + uint8_t Reserved[7]; USB_OSCompatibleSection_t SideshowCompatID; } USB_OSCompatibleIDDescriptor_t; @@ -87,10 +87,12 @@ /* Function Prototypes: */ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, - void** const DescriptorAddress) ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3); + const void** const DescriptorAddress) + ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3); uint16_t USB_GetOSFeatureDescriptor(const uint16_t wValue, const uint8_t wIndex, - void** const DescriptorAddress) ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3); + const void** const DescriptorAddress) + ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3); #endif