mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 22:33:34 +08:00
MC pos ctrl: Fixed frame size guard
This commit is contained in:
@@ -42,4 +42,7 @@ SRCS = mc_pos_control_main.cpp \
|
||||
mc_pos_control.cpp \
|
||||
mc_pos_control_params.c
|
||||
|
||||
EXTRACXXFLAGS = -Wframe-larger-than=2500
|
||||
# Only NuttX has a frame size limit
|
||||
ifeq ($(PX4_TARGET_OS),nuttx)
|
||||
EXTRACXXFLAGS = -Wframe-larger-than=1200
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user