fix gamepad report type conflict

This commit is contained in:
hathach committed 2021-04-22 22:33:19 +07:00
1 parent 527e62d5f4
commit 6cd839ef31
1 file changed
-14
@@ -53,20 +53,6 @@ typedef struct ATTR_PACKED
uint16_t usage_value; ///< Usage value of the pressed control
} hid_consumer_control_report_t;
/// Gamepad report
typedef struct ATTR_PACKED
{
struct ATTR_PACKED
{
uint8_t x : 2;
uint8_t y : 2;
uint8_t : 4;
};
uint8_t buttons;
}hid_gamepad_report_t;
class BLEHidGeneric : public BLEService
{
public: