aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDarryl Taylor <darryl.c.taylor@gmail.com>2014-01-29 17:12:16 +0800
committerDarryl Taylor <darryl.c.taylor@gmail.com>2014-01-29 17:12:16 +0800
commitb0f65bb708e2728d562dbef8db04a846170d0ca6 (patch)
treecf3c89f9cd552ad1c3c2275a76d1de92480b2e79 /src
parent58a1f19d79da8a621454f11055534610921accd6 (diff)
downloadpx4-firmware-b0f65bb708e2728d562dbef8db04a846170d0ca6.tar.gz
px4-firmware-b0f65bb708e2728d562dbef8db04a846170d0ca6.tar.bz2
px4-firmware-b0f65bb708e2728d562dbef8db04a846170d0ca6.zip
Stack size reduced to 1648. Max stack usage reported top at 1316.
Diffstat (limited to 'src')
-rw-r--r--src/modules/mavlink/orb_listener.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/mavlink/orb_listener.c b/src/modules/mavlink/orb_listener.c
index 92b1b45be..ed04882b9 100644
--- a/src/modules/mavlink/orb_listener.c
+++ b/src/modules/mavlink/orb_listener.c
@@ -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);