mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 08:36:08 +08:00
commander: raise stack of low prio thread
The accel calibration sometimes lead to a crash. Raising the stack size resolved the issue.
This commit is contained in:
@@ -1505,7 +1505,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, 2880);
|
||||
pthread_attr_setstacksize(&commander_low_prio_attr, 3000);
|
||||
|
||||
#ifndef __PX4_QURT
|
||||
// This is not supported by QURT (yet).
|
||||
|
||||
Reference in New Issue
Block a user