add debug info
This commit is contained in:
parent
32cb324324
commit
1c60efe8a8
|
@ -180,6 +180,7 @@ static void RestartApplication(void)
|
|||
unsigned long pid = PrivUserTaskSearch();
|
||||
if (pid > 0)
|
||||
{
|
||||
printf("kill usertask pid[%d]\n",pid);
|
||||
PrivTaskDelete(pid, 0);
|
||||
}
|
||||
else
|
||||
|
@ -187,6 +188,7 @@ static void RestartApplication(void)
|
|||
break;
|
||||
}
|
||||
}
|
||||
printf("restart main.\n");
|
||||
PrivTaskCreate(&restart_main, &attr, (void *)main, NULL);
|
||||
}
|
||||
static int OtaDataRecv(struct Adapter* adapter)
|
||||
|
|
Loading…
Reference in New Issue