mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-28 06:14:07 +08:00
log_writer_file: increase stack size by 20 bytes
Seems to be due to the console buffer.
This commit is contained in:
parent
0d71eeccbf
commit
d68dcb9cf7
@ -161,7 +161,7 @@ int LogWriterFile::thread_start()
|
||||
param.sched_priority = SCHED_PRIORITY_DEFAULT - 40;
|
||||
(void)pthread_attr_setschedparam(&thr_attr, ¶m);
|
||||
|
||||
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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user