diff options
| author | hathach <[email protected]> | 2023-04-28 11:12:03 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-04-28 11:12:03 +0700 |
| commit | 190acc1fb0579d3e097ba2b0b96033740ecee26e (patch) | |
| tree | 37c2883538b1919939d1b5ea59d095dc63874af1 /src/class/cdc/cdc_device.c | |
| parent | 8f4797663902cd445994ed48f2cd093161af68f2 (diff) | |
add aligned(4) for cdc_line_coding_t
Diffstat (limited to 'src/class/cdc/cdc_device.c')
| -rw-r--r-- | src/class/cdc/cdc_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_device.c b/src/class/cdc/cdc_device.c index bf15d0d97..5adce521d 100644 --- a/src/class/cdc/cdc_device.c +++ b/src/class/cdc/cdc_device.c @@ -53,7 +53,7 @@ typedef struct /*------------- From this point, data is not cleared by bus reset -------------*/ char wanted_char; - CFG_TUSB_MEM_ALIGN cdc_line_coding_t line_coding; + TU_ATTR_ALIGNED(4) cdc_line_coding_t line_coding; // FIFO tu_fifo_t rx_ff; |
