From c52c692c4f0bb3959b784fe22f46b87d0d35b4b9 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Wed, 7 Sep 2016 22:05:38 +0200 Subject: [PATCH] Commander: Adjust pthread stack size for platform --- src/modules/commander/commander.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index 9077eaa1db..7271ff93e0 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -1615,7 +1615,7 @@ int commander_thread_main(int argc, char *argv[]) /* initialize low priority thread */ pthread_attr_t commander_low_prio_attr; pthread_attr_init(&commander_low_prio_attr); - pthread_attr_setstacksize(&commander_low_prio_attr, 3000); + pthread_attr_setstacksize(&commander_low_prio_attr, PX4_STACK_ADJUSTED(3000)); #ifndef __PX4_QURT // This is not supported by QURT (yet).