mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 14:23:34 +08:00
commander: Increase stack size for low prio task to accomodate accel cal.
This commit is contained in:
@@ -1134,7 +1134,7 @@ int commander_thread_main(int argc, char *argv[])
|
|||||||
/* initialize low priority thread */
|
/* initialize low priority thread */
|
||||||
pthread_attr_t commander_low_prio_attr;
|
pthread_attr_t commander_low_prio_attr;
|
||||||
pthread_attr_init(&commander_low_prio_attr);
|
pthread_attr_init(&commander_low_prio_attr);
|
||||||
pthread_attr_setstacksize(&commander_low_prio_attr, 1600);
|
pthread_attr_setstacksize(&commander_low_prio_attr, 2100);
|
||||||
|
|
||||||
struct sched_param param;
|
struct sched_param param;
|
||||||
(void)pthread_attr_getschedparam(&commander_low_prio_attr, ¶m);
|
(void)pthread_attr_getschedparam(&commander_low_prio_attr, ¶m);
|
||||||
|
|||||||
Reference in New Issue
Block a user