提交 d1baf1f5 编写于 作者: B betesla 提交者: mysterywolf

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

use __ARMCC_VERSION to replace __CC_ARM
上级 d1e1f66e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册