Skip to content

Commit c1a4352

Browse files
committed
fix compiling with blehid
1 parent 23f0b09 commit c1a4352

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

libraries/Bluefruit52Lib/src/bluefruit.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
#include "bluefruit.h"
3838
#include "utility/bonding.h"
3939

40-
#include <Adafruit_TinyUSB.h> // for Serial
41-
4240
#ifndef CFG_BLE_TX_POWER_LEVEL
4341
#define CFG_BLE_TX_POWER_LEVEL 0
4442
#endif

libraries/Bluefruit52Lib/src/services/BLEHidAdafruit.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
#include "BLEHidGeneric.h"
4343
#include "BLEService.h"
4444

45-
4645
class BLEHidAdafruit : public BLEHidGeneric
4746
{
4847
public:

libraries/Bluefruit52Lib/src/services/BLEHidGeneric.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
#include "BLECharacteristic.h"
4242
#include "BLEService.h"
4343

44-
// include usb hid definitions
45-
#include "class/hid/hid.h"
44+
// include for usb hid definitions
45+
#include <Adafruit_TinyUSB.h>
4646

4747
extern const uint8_t hid_ascii_to_keycode[128][2];
4848
extern const uint8_t hid_keycode_to_ascii[128][2];

0 commit comments

Comments
 (0)