summaryrefslogtreecommitdiff
path: root/tests/support/descriptor_test.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-06-06 10:39:37 +0700
committerhathach <[email protected]>2019-06-06 10:39:37 +0700
commit13e01c7dca1e72097be1723676b086be29d0e622 (patch)
tree699e883134aae84d54fe592346b2bb4eb92acb7c /tests/support/descriptor_test.c
parent90fea785c6aa60fdfd398fee262bb06c69a010b7 (diff)
add TU_ prefix to compiler ATTR to prevent name conflict with application
Diffstat (limited to 'tests/support/descriptor_test.c')
-rw-r--r--tests/support/descriptor_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/support/descriptor_test.c b/tests/support/descriptor_test.c
index b51c81711..0796e5b57 100644
--- a/tests/support/descriptor_test.c
+++ b/tests/support/descriptor_test.c
@@ -27,7 +27,7 @@
#include "tusb_option.h"
#include "descriptor_test.h"
-CFG_TUSB_MEM_SECTION ATTR_ALIGNED(4)
+CFG_TUSB_MEM_SECTION TU_ATTR_ALIGNED(4)
const uint8_t keyboard_report_descriptor[] = {
HID_USAGE_PAGE ( HID_USAGE_PAGE_DESKTOP ),
HID_USAGE ( HID_USAGE_DESKTOP_KEYBOARD ),
@@ -69,7 +69,7 @@ const uint8_t keyboard_report_descriptor[] = {
HID_COLLECTION_END
};
-CFG_TUSB_MEM_SECTION ATTR_ALIGNED(4)
+CFG_TUSB_MEM_SECTION TU_ATTR_ALIGNED(4)
const uint8_t mouse_report_descriptor[] = {
HID_USAGE_PAGE ( HID_USAGE_PAGE_DESKTOP ),
HID_USAGE ( HID_USAGE_DESKTOP_MOUSE ),
@@ -106,7 +106,7 @@ const uint8_t mouse_report_descriptor[] = {
};
-CFG_TUSB_MEM_SECTION ATTR_ALIGNED(4)
+CFG_TUSB_MEM_SECTION TU_ATTR_ALIGNED(4)
tusb_desc_device_t const desc_device =
{
.bLength = sizeof(tusb_desc_device_t),
@@ -130,7 +130,7 @@ tusb_desc_device_t const desc_device =
} ;
-CFG_TUSB_MEM_SECTION ATTR_ALIGNED(4)
+CFG_TUSB_MEM_SECTION TU_ATTR_ALIGNED(4)
const app_configuration_desc_t desc_configuration =
{
.configuration =