From 69f6fe51bc26a49d136f2a6786f440ad7a3f4931 Mon Sep 17 00:00:00 2001 From: James Goppert Date: Sun, 13 Jan 2013 19:08:27 -0500 Subject: More fixes. --- apps/mavlink/mavlink_receiver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') 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); -- cgit v1.2.3