diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-17 10:02:19 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-17 10:02:19 +0000 |
commit | c3758ac5ef70cb609289ed6f34ba7e7be7ab8841 (patch) | |
tree | af4d3b2ff9749a4ad432e41e27b09d18ae00e541 /LUFA/Drivers/USB/Class | |
parent | 021b1b567e8686d4addccb53511b7f5447392267 (diff) | |
download | lufa-c3758ac5ef70cb609289ed6f34ba7e7be7ab8841.tar.gz lufa-c3758ac5ef70cb609289ed6f34ba7e7be7ab8841.tar.bz2 lufa-c3758ac5ef70cb609289ed6f34ba7e7be7ab8841.zip |
Un-inline the SendAddress function in NVMTarget.c/.h of the AVRISP project.
Add new HotmailNotifier project, which changes a LED's colour based on the user's unread email count as sent from Windows Live Messenger.
Diffstat (limited to 'LUFA/Drivers/USB/Class')
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/HID.h | 3 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/HIDParser.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/HID.h b/LUFA/Drivers/USB/Class/Device/HID.h index d51327c39..f92ffd749 100644 --- a/LUFA/Drivers/USB/Class/Device/HID.h +++ b/LUFA/Drivers/USB/Class/Device/HID.h @@ -89,7 +89,8 @@ */
uint8_t PrevReportINBufferSize; /**< Size in bytes of the given input report buffer. This is used to create a
* second buffer of the same size within the driver so that subsequent reports
- * can be compared.
+ * can be compared. If the user app is to determine when reports are to be sent
+ * exclusively (i.e. \ref PrevReportINBuffer is NULL) this value is ignored.
*/
} Config; /**< Config data for the USB class interface within the device. All elements in this section
* <b>must</b> be set or the interface will fail to enumerate and operate correctly.
diff --git a/LUFA/Drivers/USB/Class/Host/HIDParser.h b/LUFA/Drivers/USB/Class/Host/HIDParser.h index 16cfc2317..907610798 100644 --- a/LUFA/Drivers/USB/Class/Host/HIDParser.h +++ b/LUFA/Drivers/USB/Class/Host/HIDParser.h @@ -205,7 +205,9 @@ HID_ReportItem_Attributes_t Attributes; /**< Report item attributes. */
- uint32_t Value; /**< Current value of the report item. */
+ uint32_t Value; /**< Current value of the report item - use \ref HID_ALIGN_DATA() when processing
+ * a retrieved value so that it is aligned to a specific type.
+ */
uint32_t PreviousValue; /**< Previous value of the report item. */
} HID_ReportItem_t;
|