mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Stack size reduced to 1648. Max stack usage reported top at 1316.
This commit is contained in:
parent
58a1f19d79
commit
b0f65bb708
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user