mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
Revert "logger: log_writer_file increase stack 1170 -> 1472 bytes (#15765)"
This reverts commit d676e65294.
This commit is contained in:
@@ -161,7 +161,7 @@ int LogWriterFile::thread_start()
|
|||||||
param.sched_priority = SCHED_PRIORITY_DEFAULT - 40;
|
param.sched_priority = SCHED_PRIORITY_DEFAULT - 40;
|
||||||
(void)pthread_attr_setschedparam(&thr_attr, ¶m);
|
(void)pthread_attr_setschedparam(&thr_attr, ¶m);
|
||||||
|
|
||||||
pthread_attr_setstacksize(&thr_attr, PX4_STACK_ADJUSTED(1472));
|
pthread_attr_setstacksize(&thr_attr, PX4_STACK_ADJUSTED(1170));
|
||||||
|
|
||||||
int ret = pthread_create(&_thread, &thr_attr, &LogWriterFile::run_helper, this);
|
int ret = pthread_create(&_thread, &thr_attr, &LogWriterFile::run_helper, this);
|
||||||
pthread_attr_destroy(&thr_attr);
|
pthread_attr_destroy(&thr_attr);
|
||||||
|
|||||||
Reference in New Issue
Block a user