diff options
| author | betesla <[email protected]> | 2023-03-03 15:44:45 +0800 |
|---|---|---|
| committer | Man, Jianting (Meco) <[email protected]> | 2023-03-03 19:04:43 -0500 |
| commit | d1baf1f5b52cd696e07880176eaa58e0ef04de18 (patch) | |
| tree | 5f490045140abff522fe53fa04ba8961db3eb10c /components | |
| parent | d1e1f66e42bbec7d9da6aff365c87460484efdbe (diff) | |
[Fix]:fix at_server.c link failed when using ac6
use __ARMCC_VERSION to replace __CC_ARM
Diffstat (limited to 'components')
| -rw-r--r-- | components/net/at/src/at_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/at/src/at_server.c b/components/net/at/src/at_server.c index 9e5d9174b1..fe150d83f7 100644 --- a/components/net/at/src/at_server.c +++ b/components/net/at/src/at_server.c @@ -538,7 +538,7 @@ int at_server_init(void) } /* initialize the AT commands table.*/ -#if defined(__CC_ARM) /* ARM C Compiler */ +#if defined(__ARMCC_VERSION) /* ARM C Compiler */ extern const int RtAtCmdTab$$Base; extern const int RtAtCmdTab$$Limit; cmd_table = (at_cmd_t)&RtAtCmdTab$$Base; |
