summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-14 13:08:21 +0700
committerhathach <[email protected]>2018-12-14 13:08:21 +0700
commita3713f801d97b1903593a53c02da682acb3acee0 (patch)
treee251dceaf68ab8b8e6b982a180f8e65119f0a872 /tests
parentedf885ca465e16d74833a4866951ca9aa7d4326c (diff)
clean up compiler attribute
Diffstat (limited to 'tests')
-rw-r--r--tests/support/tusb_callback.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/support/tusb_callback.h b/tests/support/tusb_callback.h
index 03fa60b5d..bd5a2dacf 100644
--- a/tests/support/tusb_callback.h
+++ b/tests/support/tusb_callback.h
@@ -60,7 +60,7 @@
#include "usbh.h"
//------------- core -------------//
-uint8_t tusbh_device_attached_cb (tusb_desc_device_t const *p_desc_device) ATTR_WEAK ATTR_WARN_UNUSED_RESULT;
+uint8_t tusbh_device_attached_cb (tusb_desc_device_t const *p_desc_device) ATTR_WEAK;
void tusbh_device_mount_succeed_cb (uint8_t dev_addr) ATTR_WEAK;
void tusbh_device_mount_failed_cb(tusb_error_t error, tusb_desc_device_t const *p_desc_device) ATTR_WEAK;