Browse Source

Stack size reduced to 1648. Max stack usage reported top at 1316.

sbg
Darryl Taylor 11 years ago
parent
commit
b0f65bb708
  1. 2
      src/modules/mavlink/orb_listener.c

2
src/modules/mavlink/orb_listener.c

@ -838,7 +838,7 @@ uorb_receive_start(void) @@ -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…
Cancel
Save