!562 修复esp32编译缺少result定义问题

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

View File

@ -110,6 +110,7 @@ LITE_OS_SEC_TEXT_MINOR VOID ArchSysExit(VOID)
LITE_OS_SEC_TEXT_INIT VOID *ArchTskStackInit(UINT32 taskID, UINT32 stackSize, VOID *topStack)
{
errno_t result;
TaskContext *context = (TaskContext *)((UINTPTR)topStack + stackSize - sizeof(TaskContext));
/* initialize the task context */