Revert "Merge pull request #620 from pigeonhunter/stack_sizes"

This reverts commit 3b31a6b1b9, reversing
changes made to 70afb3ca3b.
This commit is contained in:
Lorenz Meier
2014-01-30 21:54:29 +01:00
parent 5316741ed4
commit 8d79d91950
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -773,7 +773,7 @@ int mavlink_main(int argc, char *argv[])
mavlink_task = task_spawn_cmd("mavlink",
SCHED_DEFAULT,
SCHED_PRIORITY_DEFAULT,
1200,
2048,
mavlink_thread_main,
(const char **)argv);
+1 -1
View File
@@ -871,7 +871,7 @@ receive_start(int uart)
param.sched_priority = SCHED_PRIORITY_MAX - 40;
(void)pthread_attr_setschedparam(&receiveloop_attr, &param);
pthread_attr_setstacksize(&receiveloop_attr, 1816);
pthread_attr_setstacksize(&receiveloop_attr, 3000);
pthread_t thread;
pthread_create(&thread, &receiveloop_attr, receive_thread, &uart);
+1 -1
View File
@@ -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);