mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 01:53:33 +08:00
uORB: tests decrease stack
- save a bit of memory for running on older boards
This commit is contained in:
@@ -486,7 +486,7 @@ int uORBTest::UnitTest::test_multi2()
|
||||
int pubsub_task = px4_task_spawn_cmd("uorb_test_multi",
|
||||
SCHED_DEFAULT,
|
||||
SCHED_PRIORITY_MAX - 5,
|
||||
3000,
|
||||
2000,
|
||||
(px4_main_t)&uORBTest::UnitTest::pub_test_multi2_entry,
|
||||
args);
|
||||
|
||||
@@ -1019,7 +1019,7 @@ int uORBTest::UnitTest::test_queue_poll_notify()
|
||||
int pubsub_task = px4_task_spawn_cmd("uorb_test_queue",
|
||||
SCHED_DEFAULT,
|
||||
SCHED_PRIORITY_MIN + 5,
|
||||
3000,
|
||||
2000,
|
||||
(px4_main_t)&uORBTest::UnitTest::pub_test_queue_entry,
|
||||
args);
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ int uORBTest::UnitTest::latency_test(orb_id_t T, bool print)
|
||||
int pubsub_task = px4_task_spawn_cmd("uorb_latency",
|
||||
SCHED_DEFAULT,
|
||||
SCHED_PRIORITY_MAX,
|
||||
3000,
|
||||
2000,
|
||||
(px4_main_t)&uORBTest::UnitTest::pubsubtest_threadEntry,
|
||||
args);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user