diff options
author | Dean Camera <[email protected]> | 2009-12-26 04:13:55 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2009-12-26 04:13:55 +0000 |
commit | d1608d4af321529f0ddef9defcd97669ae9018c3 (patch) | |
tree | 79a2ba0fe2bfa14670a489e77f4c201f380de4f0 /Bootloaders | |
parent | 35dac470f243d234d72f34cbaeb1d6c8a15bc435 (diff) | |
download | qmk_firmware-d1608d4af321529f0ddef9defcd97669ae9018c3.tar.gz qmk_firmware-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/TeensyHID/Descriptors.c b/Bootloaders/TeensyHID/Descriptors.c index 791269cbca..65a8d11b61 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;
|