mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 22:41:36 +08:00
Beginnings of definitions for the LPC1788; convert olimex-lpc1766stk to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5533 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
#include <semaphore.h>
|
||||
#include <signal.h>
|
||||
#include <sched.h>
|
||||
@@ -431,7 +432,7 @@ static int spawn_proxy(int argc, char *argv[])
|
||||
* What should we do in the event of a failure?
|
||||
*/
|
||||
|
||||
int tmp = task_reparent(0, 0, *g_ps_parms.pid);
|
||||
int tmp = task_reparent(0, *g_ps_parms.pid);
|
||||
if (tmp < 0)
|
||||
{
|
||||
sdbg("ERROR: task_reparent() failed: %d\n", tmp);
|
||||
|
||||
Reference in New Issue
Block a user