diff options
| author | HiFiPhile <[email protected]> | 2024-04-26 13:42:20 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2024-04-26 13:42:20 +0200 |
| commit | 1661acf82f8e01392de0c18c3472d016679c707d (patch) | |
| tree | 7b09c841904529e41e38900833a6dbbd9d89a319 /src | |
| parent | 7fb8d3341ce2feb46b0bce0bef069d31cf080168 (diff) | |
Add missing alignment.
Diffstat (limited to 'src')
| -rw-r--r-- | src/class/hid/hid_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class/hid/hid_device.c b/src/class/hid/hid_device.c index a5c709d4c..c66a4597e 100644 --- a/src/class/hid/hid_device.c +++ b/src/class/hid/hid_device.c @@ -46,9 +46,9 @@ typedef struct uint8_t ep_out; // optional Out endpoint uint8_t itf_protocol; // Boot mouse or keyboard - uint8_t protocol_mode; // Boot (0) or Report protocol (1) - uint8_t idle_rate; // up to application to handle idle rate uint16_t report_desc_len; + CFG_TUSB_MEM_ALIGN uint8_t protocol_mode; // Boot (0) or Report protocol (1) + CFG_TUSB_MEM_ALIGN uint8_t idle_rate; // up to application to handle idle rate CFG_TUSB_MEM_ALIGN uint8_t epin_buf[CFG_TUD_HID_EP_BUFSIZE]; CFG_TUSB_MEM_ALIGN uint8_t epout_buf[CFG_TUD_HID_EP_BUFSIZE]; |
