aboutsummaryrefslogtreecommitdiff
path: root/Bootloaders/TeensyHID/Descriptors.c
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-12-26 04:13:55 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-12-26 04:13:55 +0000
commitb247567b522dea8e05813ed2932670278ce8d1ba (patch)
tree79a2ba0fe2bfa14670a489e77f4c201f380de4f0 /Bootloaders/TeensyHID/Descriptors.c
parent0c380bdcd15a45b5c58677aeb60f3c478d9e9096 (diff)
Added const where possible to the source functions in the Projects directory.
Added command timeout to the AVRISP project so that incorrectly connected targets no longer freeze the device. Removed string descriptors from the TeensyHID bootloader to reduce its size. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1013 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Bootloaders/TeensyHID/Descriptors.c')
-rw-r--r--Bootloaders/TeensyHID/Descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/TeensyHID/Descriptors.c b/Bootloaders/TeensyHID/Descriptors.c
index 791269cb..65a8d11b 100644
--- a/Bootloaders/TeensyHID/Descriptors.c
+++ b/Bootloaders/TeensyHID/Descriptors.c
@@ -152,7 +152,7 @@ USB_Descriptor_Configuration_t ConfigurationDescriptor =
*/
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress)
{
- const uint8_t DescriptorType = (wValue >> 8);
+ const uint8_t DescriptorType = (wValue >> 8);
void* Address = NULL;
uint16_t Size = NO_DESCRIPTOR;