!557 修复esp32编译告警导致编译失败问题

Merge pull request !557 from ouyk/master
This commit is contained in:
openharmony_ci 2022-01-20 05:54:31 +00:00 committed by Gitee
commit f4add1711a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 0 deletions

View File

@ -419,6 +419,7 @@ static inline UINT32 LOS_Align(UINT32 addr, UINT32 boundary)
#endif #endif
#if defined(__GNUC__) #if defined(__GNUC__)
#ifndef __XTENSA_LX6__
static inline void maybe_release_fence(int model) static inline void maybe_release_fence(int model)
{ {
switch (model) { switch (model) {
@ -519,6 +520,7 @@ static inline UINT64 __atomic_exchange_8(volatile void *mem, UINT64 val, int mod
return ret; return ret;
} }
#endif #endif
#endif
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus