diff options
author | James Goppert <james.goppert@gmail.com> | 2013-01-13 19:08:27 -0500 |
---|---|---|
committer | James Goppert <james.goppert@gmail.com> | 2013-01-13 19:08:27 -0500 |
commit | 69f6fe51bc26a49d136f2a6786f440ad7a3f4931 (patch) | |
tree | bc8552587d3868031e2d4e0eb3908ff56af738ff /apps | |
parent | e3d0e0216bfa97ecf502b37e76465a1bef02e888 (diff) | |
download | px4-firmware-69f6fe51bc26a49d136f2a6786f440ad7a3f4931.tar.gz px4-firmware-69f6fe51bc26a49d136f2a6786f440ad7a3f4931.tar.bz2 px4-firmware-69f6fe51bc26a49d136f2a6786f440ad7a3f4931.zip |
More fixes.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/mavlink/mavlink_receiver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/mavlink/mavlink_receiver.c b/apps/mavlink/mavlink_receiver.c index e686790f3..ae81dc9f9 100644 --- a/apps/mavlink/mavlink_receiver.c +++ b/apps/mavlink/mavlink_receiver.c @@ -571,7 +571,7 @@ receive_thread(void *arg) int uart_fd = *((int *)arg); const int timeout = 1000; - uint8_t buf[512]; + uint8_t buf[32]; mavlink_message_t msg; @@ -617,7 +617,7 @@ receive_start(int uart) param.sched_priority = SCHED_PRIORITY_MAX - 40; (void)pthread_attr_setschedparam(&receiveloop_attr, ¶m); - pthread_attr_setstacksize(&receiveloop_attr, 3072); + pthread_attr_setstacksize(&receiveloop_attr, 2048); pthread_t thread; pthread_create(&thread, &receiveloop_attr, receive_thread, &uart); |