clean up compipler macros

This commit is contained in:
hathach committed 2019-06-06 11:19:13 +07:00
1 parent 3f2fbc6e75
commit a73eb9d765
3 files changed
+8 -92

No files matched your search

@@ -64,15 +64,16 @@ extern hid_keycode_to_ascii_t const hid_keycode_to_ascii[128];
/// HID Consumer Control Report
typedef ATTR_PACKED_STRUCT(struct)
typedef struct ATTR_PACKED
{
uint16_t usage_value; ///< Usage value of the pressed control
} hid_consumer_control_report_t;
/// Gamepad report
typedef ATTR_PACKED_STRUCT(struct)
typedef struct ATTR_PACKED
{
ATTR_PACKED_STRUCT(struct){
struct ATTR_PACKED
{
uint8_t x : 2;
uint8_t y : 2;
uint8_t : 4;