Stack size reduced to 1816. Max stack reported by top was 1448 under HIL.

This commit is contained in:
Darryl Taylor
2014-01-29 17:09:05 +08:00
parent 338b753a3c
commit 58a1f19d79
+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, 3000);
pthread_attr_setstacksize(&receiveloop_attr, 1816);
pthread_t thread;
pthread_create(&thread, &receiveloop_attr, receive_thread, &uart);