diff options
| author | sakumisu <[email protected]> | 2022-02-23 17:48:47 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2022-02-24 12:28:51 +0800 |
| commit | dddd4e4c3c9523c67110ad2edbb73c3333780186 (patch) | |
| tree | 9853c6316504f877b62cca245f049385318d94fb /class/cdc | |
| parent | c053a656bda0872c3e12fbcd6c10d62aac435372 (diff) | |
gdd memory align32 for variable in structure
Diffstat (limited to 'class/cdc')
| -rw-r--r-- | class/cdc/usbd_cdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/class/cdc/usbd_cdc.c b/class/cdc/usbd_cdc.c index 707e6ac0..11d709da 100644 --- a/class/cdc/usbd_cdc.c +++ b/class/cdc/usbd_cdc.c @@ -29,7 +29,7 @@ const char *parity_name[] = { "N", "O", "E", "M", "S" }; /* Device data structure */ struct cdc_acm_cfg_priv { /* CDC ACM line coding properties. LE order */ - struct cdc_line_coding line_coding; + USB_MEM_ALIGN32 struct cdc_line_coding line_coding; /* CDC ACM line state bitmap, DTE side */ uint8_t line_state; /* CDC ACM serial state bitmap, DCE side */ |
