diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-08-16 15:49:56 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-08-16 15:49:56 +0200 |
commit | 46c4b987ccdd3c56588bf639a5500d974d5d2be6 (patch) | |
tree | 4cacbb7884be709583ade13784a4b168ff5a36db /apps/mavlink | |
parent | e95662f505eb45f80036be63940d435e4b4871e1 (diff) | |
download | px4-firmware-46c4b987ccdd3c56588bf639a5500d974d5d2be6.tar.gz px4-firmware-46c4b987ccdd3c56588bf639a5500d974d5d2be6.tar.bz2 px4-firmware-46c4b987ccdd3c56588bf639a5500d974d5d2be6.zip |
Various fixes for params interface
Diffstat (limited to 'apps/mavlink')
-rw-r--r-- | apps/mavlink/mavlink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/mavlink/mavlink.c b/apps/mavlink/mavlink.c index dc8b2a2c8..8e0fe629b 100644 --- a/apps/mavlink/mavlink.c +++ b/apps/mavlink/mavlink.c @@ -1270,13 +1270,13 @@ int mavlink_main(int argc, char *argv[]) pthread_attr_t receiveloop_attr; pthread_attr_init(&receiveloop_attr); - pthread_attr_setstacksize(&receiveloop_attr, 2048); + pthread_attr_setstacksize(&receiveloop_attr, 4096); pthread_create(&receive_thread, &receiveloop_attr, receiveloop, NULL); pthread_attr_t uorb_attr; pthread_attr_init(&uorb_attr); - /* Set stack size, needs more than 2048 bytes */ - pthread_attr_setstacksize(&uorb_attr, 5096); + /* Set stack size, needs more than 5000 bytes */ + pthread_attr_setstacksize(&uorb_attr, 7000); pthread_create(&uorb_receive_thread, &uorb_attr, uorb_receiveloop, NULL); /* initialize waypoint manager */ |