forked from Archive/PX4-Autopilot
format src/examples/px4_daemon_app
This commit is contained in:
parent
ad456bb7f2
commit
293739ce20
|
@ -103,11 +103,11 @@ int px4_daemon_app_main(int argc, char *argv[])
|
||||||
|
|
||||||
thread_should_exit = false;
|
thread_should_exit = false;
|
||||||
daemon_task = px4_task_spawn_cmd("daemon",
|
daemon_task = px4_task_spawn_cmd("daemon",
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_DEFAULT,
|
SCHED_PRIORITY_DEFAULT,
|
||||||
2000,
|
2000,
|
||||||
px4_daemon_thread_main,
|
px4_daemon_thread_main,
|
||||||
(argv) ? (char * const *)&argv[2] : (char * const *)NULL);
|
(argv) ? (char *const *)&argv[2] : (char *const *)NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue