diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-04 01:06:26 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-04 01:06:26 +0000 |
commit | 2919aeeaaba0d1d54e03f9132269c5277d414543 (patch) | |
tree | ee12ce9ca936d3245b023e5d13b065670f4ba66a /Projects | |
parent | f338ddcb875d8486af348609db8e38b2791d3e26 (diff) | |
download | lufa-2919aeeaaba0d1d54e03f9132269c5277d414543.tar.gz lufa-2919aeeaaba0d1d54e03f9132269c5277d414543.tar.bz2 lufa-2919aeeaaba0d1d54e03f9132269c5277d414543.zip |
Fixed HID Parser not distributing the Usage Min and Usage Max values across an array of report items.
Added new HID_ALIGN_DATA() macro to return the pre-retrieved value of a HID report item, left-aligned to a given datatype.
Added new PreviousValue to the HID Report Parser report item structure, for easy monitoring of previous report item values.
Diffstat (limited to 'Projects')
-rw-r--r-- | Projects/AVRISP/Lib/ISPProtocol.h | 2 | ||||
-rw-r--r-- | Projects/AVRISP/Lib/ISPTarget.h | 2 | ||||
-rw-r--r-- | Projects/AVRISP/Lib/PDIProtocol.h | 2 | ||||
-rw-r--r-- | Projects/AVRISP/Lib/PDITarget.c | 2 | ||||
-rw-r--r-- | Projects/AVRISP/Lib/PDITarget.h | 2 | ||||
-rw-r--r-- | Projects/AVRISP/Lib/V2Protocol.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/Projects/AVRISP/Lib/ISPProtocol.h b/Projects/AVRISP/Lib/ISPProtocol.h index 247933e39..2f39b4446 100644 --- a/Projects/AVRISP/Lib/ISPProtocol.h +++ b/Projects/AVRISP/Lib/ISPProtocol.h @@ -42,7 +42,7 @@ #include "V2Protocol.h"
/* Preprocessor Checks: */
- #if BOARD == BOARD_XPLAIN
+ #if (BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1)
#undef ENABLE_ISP_PROTOCOL
#if !defined(ENABLE_PDI_PROTOCOL)
diff --git a/Projects/AVRISP/Lib/ISPTarget.h b/Projects/AVRISP/Lib/ISPTarget.h index da5bd30d1..bf884ae26 100644 --- a/Projects/AVRISP/Lib/ISPTarget.h +++ b/Projects/AVRISP/Lib/ISPTarget.h @@ -48,7 +48,7 @@ #include "V2ProtocolParams.h"
/* Preprocessor Checks: */
- #if BOARD == BOARD_XPLAIN
+ #if (BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1)
#undef ENABLE_ISP_PROTOCOL
#if !defined(ENABLE_PDI_PROTOCOL)
diff --git a/Projects/AVRISP/Lib/PDIProtocol.h b/Projects/AVRISP/Lib/PDIProtocol.h index bbbfda50a..9511bc878 100644 --- a/Projects/AVRISP/Lib/PDIProtocol.h +++ b/Projects/AVRISP/Lib/PDIProtocol.h @@ -44,7 +44,7 @@ #include "PDITarget.h"
/* Preprocessor Checks: */
- #if BOARD == BOARD_XPLAIN
+ #if (BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1)
#undef ENABLE_ISP_PROTOCOL
#if !defined(ENABLE_PDI_PROTOCOL)
diff --git a/Projects/AVRISP/Lib/PDITarget.c b/Projects/AVRISP/Lib/PDITarget.c index d1dfa1511..98d4bded4 100644 --- a/Projects/AVRISP/Lib/PDITarget.c +++ b/Projects/AVRISP/Lib/PDITarget.c @@ -41,7 +41,7 @@ /** Writes a given byte to the attached XMEGA device, using a RS232 frame via software through the
* PDI interface.
*
- * \param Byte Byte to send to the attached device
+ * \param[in] Byte Byte to send to the attached device
*/
void PDITarget_SendByte(uint8_t Byte)
{
diff --git a/Projects/AVRISP/Lib/PDITarget.h b/Projects/AVRISP/Lib/PDITarget.h index 0ecc70a26..294d1a98b 100644 --- a/Projects/AVRISP/Lib/PDITarget.h +++ b/Projects/AVRISP/Lib/PDITarget.h @@ -43,7 +43,7 @@ #include <LUFA/Common/Common.h>
/* Preprocessor Checks: */
- #if BOARD == BOARD_XPLAIN
+ #if (BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1)
#undef ENABLE_ISP_PROTOCOL
#if !defined(ENABLE_PDI_PROTOCOL)
diff --git a/Projects/AVRISP/Lib/V2Protocol.h b/Projects/AVRISP/Lib/V2Protocol.h index 8a0ac2f7d..d40f951f9 100644 --- a/Projects/AVRISP/Lib/V2Protocol.h +++ b/Projects/AVRISP/Lib/V2Protocol.h @@ -47,7 +47,7 @@ #include "PDIProtocol.h"
/* Preprocessor Checks: */
- #if BOARD == BOARD_XPLAIN
+ #if (BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1)
#undef ENABLE_ISP_PROTOCOL
#if !defined(ENABLE_PDI_PROTOCOL)
|