Skip to content

Commit 74da012

Browse files
committed
Minor changes
1 parent 3b4a084 commit 74da012

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/model/ins/px4_ecl/ecl/EKF/mag_fusion.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@
4545
#include <ecl.h>
4646
#include <mathlib/mathlib.h>
4747

48+
#if !defined(UNUSED)
4849
#define UNUSED(X) (void)X /* To avoid gcc/g++ warnings */
50+
#endif /* UNUSED */
4951

5052
void Ekf::fuseMag()
5153
{

src/model/ins/px4_ecl/ecl/EKF/sideslip_fusion.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@
4545
#include <ecl.h>
4646
#include <mathlib/mathlib.h>
4747

48+
#if !defined(UNUSED)
4849
#define UNUSED(X) (void)X /* To avoid gcc/g++ warnings */
50+
#endif /* UNUSED */
4951

5052
void Ekf::fuseSideslip()
5153
{

src/task/vehicle/normal/task_vehicle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ TASK_EXPORT __fmt_task_desc = {
125125
.entry = task_vehicle_entry,
126126
.priority = VEHICLE_THREAD_PRIORITY,
127127
.auto_start = true,
128-
.stack_size = 8192,
128+
.stack_size = 6144,
129129
.param = NULL,
130130
.dependency = NULL
131131
};

0 commit comments

Comments
 (0)