fix compiling with blehid

This commit is contained in:
hathach committed 2021-06-02 21:20:54 +07:00
1 parent 23f0b09605
commit c1a4352be6
3 files changed
+2 -5

No files matched your search

@@ -37,8 +37,6 @@
#include "bluefruit.h"
#include "utility/bonding.h"
#include <Adafruit_TinyUSB.h> // for Serial
#ifndef CFG_BLE_TX_POWER_LEVEL
#define CFG_BLE_TX_POWER_LEVEL 0
#endif
@@ -42,7 +42,6 @@
#include "BLEHidGeneric.h"
#include "BLEService.h"
class BLEHidAdafruit : public BLEHidGeneric
{
public:
@@ -41,8 +41,8 @@
#include "BLECharacteristic.h"
#include "BLEService.h"
// include usb hid definitions
#include "class/hid/hid.h"
// include for usb hid definitions
#include <Adafruit_TinyUSB.h>
extern const uint8_t hid_ascii_to_keycode[128][2];
extern const uint8_t hid_keycode_to_ascii[128][2];