summaryrefslogtreecommitdiff
path: root/fw/src/usbd_hid.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/src/usbd_hid.h')
-rw-r--r--fw/src/usbd_hid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fw/src/usbd_hid.h b/fw/src/usbd_hid.h
index fa2f0a2..528747d 100644
--- a/fw/src/usbd_hid.h
+++ b/fw/src/usbd_hid.h
@@ -35,6 +35,7 @@
/* Includes ------------------------------------------------------------------*/
#include "usbd_ioreq.h"
+#include <stdbool.h>
/** @addtogroup STM32_USB_DEVICE_LIBRARY
* @{
@@ -134,6 +135,8 @@ typedef struct
uint32_t Protocol;
uint32_t IdleState;
uint32_t AltSetting;
+ bool IsReportAvailable;
+ uint8_t Report_buf[8];
HID_StateTypeDef state;
}
USBD_HID_HandleTypeDef;