mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 07:53:34 +08:00
fixed bad formating of ekf2 CMakeFile
This commit is contained in:
@@ -31,19 +31,18 @@
|
|||||||
#
|
#
|
||||||
#############################################################################
|
#############################################################################
|
||||||
set(MODULE_CFLAGS)
|
set(MODULE_CFLAGS)
|
||||||
|
if (${OS} STREQUAL "nuttx")
|
||||||
if ($ {OS} STREQUAL "nuttx")
|
list(APPEND MODULE_CFLAGS -Wframe-larger-than=4000)
|
||||||
list(APPEND MODULE_CFLAGS - Wframe - larger - than = 4000)
|
endif()
|
||||||
endif()
|
px4_add_module(
|
||||||
px4_add_module(
|
MODULE modules__ekf2
|
||||||
MODULE modules__ekf2
|
MAIN ekf2
|
||||||
MAIN ekf2
|
COMPILE_FLAGS ${MODULE_CFLAGS}
|
||||||
COMPILE_FLAGS $ {MODULE_CFLAGS}
|
STACK 1000
|
||||||
STACK 1000
|
SRCS
|
||||||
SRCS
|
|
||||||
ekf2_main.cpp
|
ekf2_main.cpp
|
||||||
DEPENDS
|
DEPENDS
|
||||||
platforms__common
|
platforms__common
|
||||||
git_ecl
|
git_ecl
|
||||||
)
|
)
|
||||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||||
|
|||||||
Reference in New Issue
Block a user