diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-08 08:14:58 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-08 08:14:58 +0100 |
commit | ba0a3430908ac9fb5c601e2ed3b61662feb90a7e (patch) | |
tree | 33349fe934e9dd96e69d5a65e53d3b0b1ac104d7 /src | |
parent | 54d2014bd64c106146a69e68c75b271937ab9933 (diff) | |
download | px4-firmware-ba0a3430908ac9fb5c601e2ed3b61662feb90a7e.tar.gz px4-firmware-ba0a3430908ac9fb5c601e2ed3b61662feb90a7e.tar.bz2 px4-firmware-ba0a3430908ac9fb5c601e2ed3b61662feb90a7e.zip |
MAVLink app: Adjust stack size of receiver thread
Diffstat (limited to 'src')
-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 d46dba317..e3f274b8b 100644 --- a/src/modules/mavlink/mavlink_receiver.cpp +++ b/src/modules/mavlink/mavlink_receiver.cpp @@ -1548,7 +1548,7 @@ MavlinkReceiver::receive_start(Mavlink *parent) param.sched_priority = SCHED_PRIORITY_MAX - 80; (void)pthread_attr_setschedparam(&receiveloop_attr, ¶m); - pthread_attr_setstacksize(&receiveloop_attr, 2100); + pthread_attr_setstacksize(&receiveloop_attr, 1800); pthread_t thread; pthread_create(&thread, &receiveloop_attr, MavlinkReceiver::start_helper, (void *)parent); |