forked from mirror/qmk_firmware
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user