iccarm工具链编译适配
Signed-off-by: i-wangliangliang <willfox@126.com> Change-Id: I9360dc232c35ec4db7a9bee08f3c288e22941e39
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
|
||||
/* for IAR Compiler */
|
||||
#ifdef __ICCARM__
|
||||
#include"iccarm_builtin.h"
|
||||
#include "iccarm_builtin.h"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -87,7 +87,7 @@ VOID OsDoExcHook(EXC_TYPE excType)
|
||||
INT32 OsLogLevelCheck(INT32 level)
|
||||
{
|
||||
if (level > PRINT_LEVEL) {
|
||||
return LOS_NOK;
|
||||
return (INT32)LOS_NOK;
|
||||
}
|
||||
|
||||
if ((level != LOG_COMMON_LEVEL) && ((level > LOG_EMG_LEVEL) && (level <= LOG_DEBUG_LEVEL))) {
|
||||
|
||||
Reference in New Issue
Block a user