cmake whitespace fixes to quiet git hook.

This commit is contained in:
Mark Sauder
2019-03-16 12:48:44 -06:00
committed by Daniel Agar
parent b35d048566
commit 4c228eaf4a
7 changed files with 9 additions and 8 deletions

View File

@@ -43,4 +43,3 @@ px4_add_module(
bmp280_i2c.cpp
bmp280.cpp
)

View File

@@ -35,7 +35,7 @@ px4_add_module(
MAIN leddar_one
STACK_MAIN 1200
COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable
-Wno-cast-align # TODO: fix and enable
SRCS
leddar_one.cpp
MODULE_CONFIG

View File

@@ -34,7 +34,7 @@ px4_add_module(
MODULE drivers__sf0x
MAIN sf0x
COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable
-Wno-cast-align # TODO: fix and enable
SRCS
sf0x.cpp
sf0x_parser.cpp

View File

@@ -35,7 +35,7 @@ px4_add_module(
MODULE drivers__vl53lxx
MAIN vl53lxx
COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable
-Wno-cast-align # TODO: fix and enable
SRCS
vl53lxx.cpp
)

View File

@@ -35,7 +35,7 @@ px4_add_module(
MAIN adis16448
STACK_MAIN 1200
COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable
-Wno-cast-align # TODO: fix and enable
SRCS
adis16448.cpp
)

View File

@@ -35,7 +35,7 @@ px4_add_module(
MAIN bmi055
STACK_MAIN 1500
COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable
-Wno-cast-align # TODO: fix and enable
SRCS
BMI055_accel.cpp
BMI055_gyro.cpp

View File

@@ -35,11 +35,13 @@ add_library(flashparams
flashfs.c
flashparams.cpp
)
add_dependencies(flashparams prebuild_targets)
target_compile_definitions(flashparams PRIVATE -DMODULE_NAME="flashparams")
target_compile_options(flashparams
PRIVATE
-Wno-sign-compare # TODO: fix this
-Wno-cast-align # TODO: fix and enable
)
target_link_libraries(flashparams PRIVATE nuttx_arch)
)
target_link_libraries(flashparams PRIVATE nuttx_arch)