From 93ced5e064697c4c8a9653e918e87e59ff87bed1 Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Thu, 24 Mar 2022 10:30:54 +0800 Subject: replace cc_arm with arm_version --- core/usbh_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/usbh_core.c b/core/usbh_core.c index 74ac78b3..01c5f129 100644 --- a/core/usbh_core.c +++ b/core/usbh_core.c @@ -813,7 +813,7 @@ int usbh_initialize(void) memset(&usbh_core_cfg, 0, sizeof(struct usbh_core_priv)); -#if defined(__CC_ARM) || (__ARMCC_VERSION >= 6010050) /* ARM C Compiler */ +#ifdef __ARMCC_VERSION /* ARM C Compiler */ extern const int usbh_class_info$$Base; extern const int usbh_class_info$$Limit; usbh_class_info_table_begin = (struct usbh_class_info *)&usbh_class_info$$Base; -- cgit v1.3.1