!822 Fix : 内核告警清理

Merge pull request !822 from yinjiaming/fix
This commit is contained in:
openharmony_ci 2022-09-21 04:42:39 +00:00 committed by Gitee
commit 3398937b1b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
6 changed files with 29 additions and 28 deletions

View File

@ -469,8 +469,9 @@ LWIP_STATIC int OsPingFunc(u32_t *parg)
}
intrvl -= 1000; /* 1000: 1000ms = 1s */
sys_msleep(1000); /* 1000: 1000ms = 1s */
if (ping_kill == 1)
if (ping_kill == 1) {
break;
}
} while (intrvl > 0);
succ_cnt++;
break;