Commander: Adjust pthread stack size for platform

This commit is contained in:
Lorenz Meier 2016-09-07 22:05:38 +02:00
parent 5b69e58925
commit c52c692c4f
1 changed files with 1 additions and 1 deletions

View File

@ -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).