From f815d9fa748141d7ef60ea854ffa96a266772fbc Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Wed, 7 Sep 2016 22:06:33 +0200 Subject: [PATCH] sdlog2: Adjust writer stack size --- src/modules/sdlog2/sdlog2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c index bff8155a92..d4d90e5ec8 100644 --- a/src/modules/sdlog2/sdlog2.c +++ b/src/modules/sdlog2/sdlog2.c @@ -755,7 +755,7 @@ void sdlog2_start_log() } #endif - pthread_attr_setstacksize(&logwriter_attr, 2048); + pthread_attr_setstacksize(&logwriter_attr, PX4_STACK_ADJUSTED(2048)); logwriter_should_exit = false;