diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-16 03:14:42 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-16 03:14:42 -0700 |
commit | a72015c260dbb4e70d23c35120269cef61a439cc (patch) | |
tree | bc21bcee84e4b45f50d65a4a52c9054400983e89 /src/modules/mavlink/mavlink_receiver.cpp | |
parent | a63fc9bedb5858d97ae415abef56892f95ff7d5a (diff) | |
parent | ea99fd84464ba6141f182dece0ae7a60c3ea9377 (diff) | |
download | px4-firmware-a72015c260dbb4e70d23c35120269cef61a439cc.tar.gz px4-firmware-a72015c260dbb4e70d23c35120269cef61a439cc.tar.bz2 px4-firmware-a72015c260dbb4e70d23c35120269cef61a439cc.zip |
Merge pull request #965 from PX4/stack_fixes
Stack fixes
Diffstat (limited to 'src/modules/mavlink/mavlink_receiver.cpp')
-rw-r--r-- | src/modules/mavlink/mavlink_receiver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/mavlink/mavlink_receiver.cpp b/src/modules/mavlink/mavlink_receiver.cpp index b03a68c07..72b9ee83a 100644 --- a/src/modules/mavlink/mavlink_receiver.cpp +++ b/src/modules/mavlink/mavlink_receiver.cpp @@ -949,7 +949,7 @@ MavlinkReceiver::receive_start(Mavlink *parent) param.sched_priority = SCHED_PRIORITY_MAX - 40; (void)pthread_attr_setschedparam(&receiveloop_attr, ¶m); - pthread_attr_setstacksize(&receiveloop_attr, 3000); + pthread_attr_setstacksize(&receiveloop_attr, 2900); pthread_t thread; pthread_create(&thread, &receiveloop_attr, MavlinkReceiver::start_helper, (void *)parent); |