summaryrefslogtreecommitdiff
path: root/tinyusb/class/hid.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/class/hid.h')
-rw-r--r--tinyusb/class/hid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/class/hid.h b/tinyusb/class/hid.h
index 11018b422..cfc203034 100644
--- a/tinyusb/class/hid.h
+++ b/tinyusb/class/hid.h
@@ -90,12 +90,12 @@ typedef ATTR_PREPACKED struct ATTR_PACKED {
*
* Type define for a standard Boot Protocol Mouse report
*/
-typedef ATTR_PREPACKED struct
+typedef ATTR_PACKED_STRUCT(struct)
{
uint8_t buttons; /**< buttons mask for currently pressed buttons in the mouse. */
int8_t x; /**< Current delta x movement of the mouse. */
int8_t y; /**< Current delta y movement on the mouse. */
-} ATTR_PACKED tusb_mouse_report_t;
+} tusb_mouse_report_t;
/**
* \brief Standard HID Boot Protocol Keyboard Report.