diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-01-30 23:07:28 +0100 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-01-30 23:07:28 +0100 |
commit | 7274c0ce3010c6f3292081a96cbd003e2d6bcefa (patch) | |
tree | 1ececc8e17bfe0fc308f211dff9d665352bbd8cb /src/modules/mavlink | |
parent | 9cbc31b588f3bac6d3b03870801c97068a4b4ecc (diff) | |
parent | 8d79d919504b4b92ad05a7ebc12334083ae0f4b9 (diff) | |
download | px4-firmware-7274c0ce3010c6f3292081a96cbd003e2d6bcefa.tar.gz px4-firmware-7274c0ce3010c6f3292081a96cbd003e2d6bcefa.tar.bz2 px4-firmware-7274c0ce3010c6f3292081a96cbd003e2d6bcefa.zip |
Merge branch 'master' into beta
Diffstat (limited to 'src/modules/mavlink')
-rw-r--r-- | src/modules/mavlink/mavlink_receiver.cpp | 2 | ||||
-rw-r--r-- | src/modules/mavlink/orb_listener.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/mavlink/mavlink_receiver.cpp b/src/modules/mavlink/mavlink_receiver.cpp index f71dd9a3f..a371a499e 100644 --- a/src/modules/mavlink/mavlink_receiver.cpp +++ b/src/modules/mavlink/mavlink_receiver.cpp @@ -872,7 +872,7 @@ receive_start(int uart) param.sched_priority = SCHED_PRIORITY_MAX - 40; (void)pthread_attr_setschedparam(&receiveloop_attr, ¶m); - pthread_attr_setstacksize(&receiveloop_attr, 1816); + pthread_attr_setstacksize(&receiveloop_attr, 3000); pthread_t thread; pthread_create(&thread, &receiveloop_attr, receive_thread, &uart); diff --git a/src/modules/mavlink/orb_listener.c b/src/modules/mavlink/orb_listener.c index 3acf3e262..d7243c623 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, 1648); + pthread_attr_setstacksize(&uorb_attr, 2048); pthread_t thread; pthread_create(&thread, &uorb_attr, uorb_receive_thread, NULL); |