diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-08-28 08:50:47 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-08-28 08:50:47 +0200 |
commit | a0925e4703fdcbf3c9eebfbae254bc0d47b96a07 (patch) | |
tree | 43a5f25173692ab17fedfbc3b30e89aa8f18218a | |
parent | 2fca24f803e8ec88fee568337935921d3d92a754 (diff) | |
download | px4-firmware-a0925e4703fdcbf3c9eebfbae254bc0d47b96a07.tar.gz px4-firmware-a0925e4703fdcbf3c9eebfbae254bc0d47b96a07.tar.bz2 px4-firmware-a0925e4703fdcbf3c9eebfbae254bc0d47b96a07.zip |
Ramped up MAVLink stack size as real use seems to need it
-rw-r--r-- | apps/mavlink/mavlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/mavlink/mavlink.c b/apps/mavlink/mavlink.c index aa7351153..84d9a22fa 100644 --- a/apps/mavlink/mavlink.c +++ b/apps/mavlink/mavlink.c @@ -1444,8 +1444,8 @@ int mavlink_thread_main(int argc, char *argv[]) pthread_attr_t uorb_attr; pthread_attr_init(&uorb_attr); - /* Set stack size, needs more than 4000 bytes */ - pthread_attr_setstacksize(&uorb_attr, 4096); + /* Set stack size, needs more than 8000 bytes */ + pthread_attr_setstacksize(&uorb_attr, 8192); pthread_create(&uorb_receive_thread, &uorb_attr, uorb_receiveloop, &mavlink_subs); /* initialize waypoint manager */ |