mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 13:27:34 +08:00
Stack size reduced to 1648. Max stack usage reported top at 1316.
This commit is contained in:
@@ -838,7 +838,7 @@ uorb_receive_start(void)
|
||||
pthread_attr_init(&uorb_attr);
|
||||
|
||||
/* Set stack size, needs less than 2k */
|
||||
pthread_attr_setstacksize(&uorb_attr, 2048);
|
||||
pthread_attr_setstacksize(&uorb_attr, 1648);
|
||||
|
||||
pthread_t thread;
|
||||
pthread_create(&thread, &uorb_attr, uorb_receive_thread, NULL);
|
||||
|
||||
Reference in New Issue
Block a user