summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbiyq <[email protected]>2022-12-15 17:16:21 +0800
committersakumisu <[email protected]>2022-12-15 20:19:42 +0800
commit2a8a7ecdf01d9d8a3e064466a3b7c48b0d0405e0 (patch)
tree65ee702980074abfd73aae5f7b55b81e76e58c06
parent9bcea9ae37281d79ee47d9cc02afda72f03ef757 (diff)
1. support for iar in situation of usb host application
-rw-r--r--core/usbh_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/usbh_core.c b/core/usbh_core.c
index 11e12497..20a73e72 100644
--- a/core/usbh_core.c
+++ b/core/usbh_core.c
@@ -690,8 +690,6 @@ int usbh_initialize(void)
usbh_class_info_table_begin = (struct usbh_class_info *)&__usbh_class_info_start__;
usbh_class_info_table_end = (struct usbh_class_info *)&__usbh_class_info_end__;
#elif defined(__ICCARM__) || defined(__ICCRX__)
- extern uint32_t __usbh_class_info_start__;
- extern uint32_t __usbh_class_info_end__;
usbh_class_info_table_begin = (struct usbh_class_info *)__section_begin("usbh_class_info");
usbh_class_info_table_end = (struct usbh_class_info *)__section_end("usbh_class_info");
#endif