fix:fix bug of exception
Signed-off-by: wcc0 <917033401@qq.com>
This commit is contained in:
parent
6f7ceb3e72
commit
d09d46ff75
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue