aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-26 04:13:55 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-26 04:13:55 +0000
commitd1608d4af321529f0ddef9defcd97669ae9018c3 (patch)
tree79a2ba0fe2bfa14670a489e77f4c201f380de4f0 /Bootloaders
parent35dac470f243d234d72f34cbaeb1d6c8a15bc435 (diff)
downloadlufa-d1608d4af321529f0ddef9defcd97669ae9018c3.tar.gz
lufa-d1608d4af321529f0ddef9defcd97669ae9018c3.tar.bz2
lufa-d1608d4af321529f0ddef9defcd97669ae9018c3.zip
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.
Diffstat (limited to 'Bootloaders')
-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 791269cbc..65a8d11b6 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;