diff options
| author | sakumisu <[email protected]> | 2022-03-24 10:30:54 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2022-03-24 10:30:54 +0800 |
| commit | 93ced5e064697c4c8a9653e918e87e59ff87bed1 (patch) | |
| tree | 826dbe40a3404a57bba43c0d9f52725f1595ed51 | |
| parent | 0b053f078f981afe3d601716135f312a4a4c0d6a (diff) | |
replace cc_arm with arm_version
| -rw-r--r-- | core/usbh_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
