projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added const where possible to the source functions in the Projects directory.
[pub/lufa.git]
/
Bootloaders
/
TeensyHID
/
Descriptors.c
diff --git
a/Bootloaders/TeensyHID/Descriptors.c
b/Bootloaders/TeensyHID/Descriptors.c
index
791269c
..
65a8d11
100644
(file)
--- a/
Bootloaders/TeensyHID/Descriptors.c
+++ b/
Bootloaders/TeensyHID/Descriptors.c
@@
-152,7
+152,7
@@
USB_Descriptor_Configuration_t ConfigurationDescriptor =
*/
\r
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress)
\r
{
\r
*/
\r
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress)
\r
{
\r
- const uint8_t
DescriptorType
= (wValue >> 8);
\r
+ const uint8_t
DescriptorType
= (wValue >> 8);
\r
\r
void* Address = NULL;
\r
uint16_t Size = NO_DESCRIPTOR;
\r
\r
void* Address = NULL;
\r
uint16_t Size = NO_DESCRIPTOR;
\r