fix build with 832 lacking usbhid def

This commit is contained in:
hathach committed 2021-06-03 16:31:43 +07:00
1 parent 95d24b5348
commit 13e9ad4ca6
2 files changed
+3 -7

No files matched your search

@@ -43,16 +43,11 @@
// include for usb hid definitions
#include <Adafruit_TinyUSB.h>
#include "class/hid/hid.h"
extern const uint8_t hid_ascii_to_keycode[128][2];
extern const uint8_t hid_keycode_to_ascii[128][2];
/// HID Consumer Control Report
typedef struct ATTR_PACKED
{
uint16_t usage_value; ///< Usage value of the pressed control
} hid_consumer_control_report_t;
class BLEHidGeneric : public BLEService
{
public: