forked from Archive/PX4-Autopilot
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);
|
pthread_attr_init(&uorb_attr);
|
||||||
|
|
||||||
/* Set stack size, needs less than 2k */
|
/* Set stack size, needs less than 2k */
|
||||||
pthread_attr_setstacksize(&uorb_attr, 2048);
|
pthread_attr_setstacksize(&uorb_attr, 1648);
|
||||||
|
|
||||||
pthread_t thread;
|
pthread_t thread;
|
||||||
pthread_create(&thread, &uorb_attr, uorb_receive_thread, NULL);
|
pthread_create(&thread, &uorb_attr, uorb_receive_thread, NULL);
|
||||||
|
|
Loading…
Reference in New Issue