Merge branch 'deal_crash'
This commit is contained in:
commit
a1f34658ba
@ -1798,9 +1798,12 @@ void setWorkSta(int flag)
|
|||||||
int isNeedRestore(void)
|
int isNeedRestore(void)
|
||||||
{
|
{
|
||||||
int rst = get_cfg("isWorking");
|
int rst = get_cfg("isWorking");
|
||||||
if (rst) {
|
if (rst > 0) {
|
||||||
LOG_W("restoring TT after crash");
|
LOG_W("restoring TT after crash");
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
rst = 0;
|
||||||
|
}
|
||||||
return rst;
|
return rst;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user