forked from Archive/PX4-Autopilot
format src/examples/subscriber
This commit is contained in:
parent
9dd8864a1b
commit
0a4a1fc991
|
@ -69,11 +69,11 @@ int subscriber_main(int argc, char *argv[])
|
||||||
task_should_exit = false;
|
task_should_exit = false;
|
||||||
|
|
||||||
daemon_task = px4_task_spawn_cmd("subscriber",
|
daemon_task = px4_task_spawn_cmd("subscriber",
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_MAX - 5,
|
SCHED_PRIORITY_MAX - 5,
|
||||||
2000,
|
2000,
|
||||||
main,
|
main,
|
||||||
(argv) ? (char* const*)&argv[2] : (char* const*)NULL);
|
(argv) ? (char *const *)&argv[2] : (char *const *)NULL);
|
||||||
|
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue