From 7ba73b46ca11cfb2167541d18a3e353681f43305 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Tue, 10 Nov 2020 23:44:02 -0500 Subject: [PATCH] uORB: tests decrease stack - save a bit of memory for running on older boards --- src/modules/uORB/uORB_tests/uORBTest_UnitTest.cpp | 4 ++-- src/modules/uORB/uORB_tests/uORBTest_UnitTest.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/uORB/uORB_tests/uORBTest_UnitTest.cpp b/src/modules/uORB/uORB_tests/uORBTest_UnitTest.cpp index f62a21898b..c6a4b369d5 100644 --- a/src/modules/uORB/uORB_tests/uORBTest_UnitTest.cpp +++ b/src/modules/uORB/uORB_tests/uORBTest_UnitTest.cpp @@ -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); diff --git a/src/modules/uORB/uORB_tests/uORBTest_UnitTest.hpp b/src/modules/uORB/uORB_tests/uORBTest_UnitTest.hpp index 7e21fe1ffc..2a746b6d64 100644 --- a/src/modules/uORB/uORB_tests/uORBTest_UnitTest.hpp +++ b/src/modules/uORB/uORB_tests/uORBTest_UnitTest.hpp @@ -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);