summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-04-26 23:04:17 +0700
committerhathach <[email protected]>2020-04-26 23:04:17 +0700
commitd0487088ac094eaaff54c04241d8018ffc729b36 (patch)
tree5e2f7cd17e271f0ed26574ed73ce41ee4daacead /src/class
parent00fcf829a12c2f075f696c78a64640b8b8e44b6b (diff)
revert a change to net driver
Diffstat (limited to 'src/class')
-rw-r--r--src/class/net/net_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/net/net_device.c b/src/class/net/net_device.c
index e3faa0187..fedd4db99 100644
--- a/src/class/net/net_device.c
+++ b/src/class/net/net_device.c
@@ -90,7 +90,7 @@ static const struct ecm_notify_struct ecm_notify_csc =
};
// TODO remove CFG_TUSB_MEM_SECTION, control internal buffer is already in this special section
-CFG_TUSB_MEM_SECTION TU_ATTR_ALIGNED(4) static union
+CFG_TUSB_MEM_SECTION CFG_TUSB_MEM_ALIGN static union
{
uint8_t rndis_buf[120];
struct ecm_notify_struct ecm_buf;