diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-03-25 22:43:00 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-03-25 22:43:00 +0000 |
commit | 4bb59f9673bdac23109575a1979640c81cbc2058 (patch) | |
tree | 087b527fb5303e676b4c1f37180c3e6b37f876b4 /LUFA | |
parent | 7cca7eb53d769e21c51f820a35b0d6ebfbd278a9 (diff) | |
download | lufa-4bb59f9673bdac23109575a1979640c81cbc2058.tar.gz lufa-4bb59f9673bdac23109575a1979640c81cbc2058.tar.bz2 lufa-4bb59f9673bdac23109575a1979640c81cbc2058.zip |
Fixed documentation typoes and preprocessor checks relating to misspellings of the USE_RAM_DESCRIPTORS token (thanks to Ian Gregg).
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/ChangeLog.txt | 1 | ||||
-rw-r--r-- | LUFA/Drivers/USB/HighLevel/StdDescriptors.h | 2 | ||||
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/USBMode.h | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/LUFA/ChangeLog.txt b/LUFA/ChangeLog.txt index f30867e89..844720834 100644 --- a/LUFA/ChangeLog.txt +++ b/LUFA/ChangeLog.txt @@ -42,6 +42,7 @@ * - Keyboard and Mouse host demos (normal and data interrupt driven) combined into unified keyboard and mouse demos
* - Removed AVRISP_Programmer project due to code quality concerns
* - Fixed CDC demo not sending an empty packet after each transfer to prevent the host from buffering incomming data
+ * - Fixed documentation typoes and preprocessor checks relating to misspellings of the USE_RAM_DESCRIPTORS token (thanks to Ian Gregg)
*
* \section Sec_ChangeLog090209 Version 090209
*
diff --git a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h index d9075cc75..3090d8c24 100644 --- a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h +++ b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h @@ -497,7 +497,7 @@ *
* \note By default, the library expects all descriptors to be located in flash memory via the PROGMEM attribute.
* If descriptors should be located in RAM or EEPROM instead (to speed up access in the case of RAM, or to
- * allow the descriptors to be changed dynamically at runtime) either the USE_SRAM_DESCRIPTORS or the
+ * allow the descriptors to be changed dynamically at runtime) either the USE_RAM_DESCRIPTORS or the
* USE_EEPROM_DESCRIPTORS tokens may be defined in the project makefile and passed to the compiler by the -D
* switch.
*
diff --git a/LUFA/Drivers/USB/LowLevel/USBMode.h b/LUFA/Drivers/USB/LowLevel/USBMode.h index f0fbf68df..138af9ed0 100644 --- a/LUFA/Drivers/USB/LowLevel/USBMode.h +++ b/LUFA/Drivers/USB/LowLevel/USBMode.h @@ -65,8 +65,8 @@ #error USB_HOST_ONLY and USB_DEVICE_ONLY are mutually exclusive.
#endif
- #if (defined(USB_RAM_DESCRIPTORS) && defined(USE_EEPROM_DESCRIPTORS))
- #error USB_RAM_DESCRIPTORS and USE_EEPROM_DESCRIPTORS are mutually exclusive.
+ #if (defined(USE_RAM_DESCRIPTORS) && defined(USE_EEPROM_DESCRIPTORS))
+ #error USE_RAM_DESCRIPTORS and USE_EEPROM_DESCRIPTORS are mutually exclusive.
#endif
#if defined(USE_STATIC_OPTIONS)
|