Skip to content

Commit 6cd839e

Browse files
committed
fix gamepad report type conflict
1 parent 527e62d commit 6cd839e

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

libraries/Bluefruit52Lib/src/services/BLEHidGeneric.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,6 @@ typedef struct ATTR_PACKED
5353
uint16_t usage_value; ///< Usage value of the pressed control
5454
} hid_consumer_control_report_t;
5555

56-
/// Gamepad report
57-
typedef struct ATTR_PACKED
58-
{
59-
struct ATTR_PACKED
60-
{
61-
uint8_t x : 2;
62-
uint8_t y : 2;
63-
uint8_t : 4;
64-
};
65-
66-
uint8_t buttons;
67-
}hid_gamepad_report_t;
68-
69-
7056
class BLEHidGeneric : public BLEService
7157
{
7258
public:

0 commit comments

Comments
 (0)