[Fix]:fix at_server.c link failed when using ac6

use __ARMCC_VERSION to replace __CC_ARM
This commit is contained in:
betesla 2023-03-03 15:44:45 +08:00 committed by Man, Jianting (Meco)
parent d1e1f66e42
commit d1baf1f5b5
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ int at_server_init(void)
} }
/* initialize the AT commands table.*/ /* 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$$Base;
extern const int RtAtCmdTab$$Limit; extern const int RtAtCmdTab$$Limit;
cmd_table = (at_cmd_t)&RtAtCmdTab$$Base; cmd_table = (at_cmd_t)&RtAtCmdTab$$Base;