log_writer_file: adjust stack size

Stack size was below threshold of 300 by 8 bytes.
This commit is contained in:
Beat Küng
2017-02-04 12:15:59 +01:00
committed by Lorenz Meier
parent 5c2fa034da
commit 03dc991188
+1 -1
View File
@@ -119,7 +119,7 @@ int LogWriterFile::thread_start()
param.sched_priority = SCHED_PRIORITY_DEFAULT - 40;
(void)pthread_attr_setschedparam(&thr_attr, &param);
pthread_attr_setstacksize(&thr_attr, PX4_STACK_ADJUSTED(1024));
pthread_attr_setstacksize(&thr_attr, PX4_STACK_ADJUSTED(1050));
int ret = pthread_create(&_thread, &thr_attr, &LogWriterFile::run_helper, this);
pthread_attr_destroy(&thr_attr);