log_writer_file: increase stack size by 20 bytes

Seems to be due to the console buffer.
This commit is contained in:
Beat Küng 2019-04-08 07:54:32 +02:00 committed by Julian Oes
parent 0d71eeccbf
commit d68dcb9cf7

View File

@ -161,7 +161,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(1150));
pthread_attr_setstacksize(&thr_attr, PX4_STACK_ADJUSTED(1170));
int ret = pthread_create(&_thread, &thr_attr, &LogWriterFile::run_helper, this);
pthread_attr_destroy(&thr_attr);