projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor documentation enhancements.
[pub/USBasp.git]
/
Demos
/
Device
/
Incomplete
/
Sideshow
/
Descriptors.h
diff --git
a/Demos/Device/Incomplete/Sideshow/Descriptors.h
b/Demos/Device/Incomplete/Sideshow/Descriptors.h
index
4d672c0
..
5ba737b
100644
(file)
--- a/
Demos/Device/Incomplete/Sideshow/Descriptors.h
+++ b/
Demos/Device/Incomplete/Sideshow/Descriptors.h
@@
-64,12
+64,12
@@
{
uint8_t FirstInterfaceNumber;
{
uint8_t FirstInterfaceNumber;
- uint8_t R
ESERVED
;
+ uint8_t R
eserved
;
uint8_t CompatibleID[8];
uint8_t SubCompatibleID[8];
uint8_t CompatibleID[8];
uint8_t SubCompatibleID[8];
- uint8_t R
ESERVED
2[6];
+ uint8_t R
eserved
2[6];
} USB_OSCompatibleSection_t;
typedef struct
} USB_OSCompatibleSection_t;
typedef struct
@@
-79,7
+79,7
@@
uint16_t Index;
uint8_t TotalSections;
uint16_t Index;
uint8_t TotalSections;
- uint8_t R
ESERVED
[7];
+ uint8_t R
eserved
[7];
USB_OSCompatibleSection_t SideshowCompatID;
} USB_OSCompatibleIDDescriptor_t;
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,
/* 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,
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
#endif