fix:fix bug of exception

Signed-off-by: wcc0 <917033401@qq.com>
This commit is contained in:
wcc0 2021-12-17 09:37:03 +08:00
parent 6f7ceb3e72
commit d09d46ff75
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ LITE_OS_SEC_TEXT_INIT VOID HalExcHandleEntry(EXC_CONTEXT_S *excBufAddr, UINT32 f
g_excInfo.faultAddr = faultAddr;
if (g_losTask.runTask != NULL) {
if (tmpFlag >= 0) {
if (tmpFlag > 0) {
g_excInfo.phase = OS_EXC_IN_HWI;
g_excInfo.thrdPid = tmpFlag;
} else {