mavlink: add static asserts to keep MAV_SENSOR_ROTATION in sync with PX4 ROTATION

This commit is contained in:
Daniel Agar
2020-09-22 11:10:31 -04:00
parent 00e955cc3e
commit d5295ef4e1
2 changed files with 48 additions and 0 deletions
+1
View File
@@ -39,6 +39,7 @@ px4_add_module(
COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable
-Wno-address-of-packed-member # TODO: fix in c_library_v2
-Wno-enum-compare # ROTATION <-> MAV_SENSOR_ROTATION
#-DDEBUG_BUILD
INCLUDES
${PX4_SOURCE_DIR}/mavlink/include/mavlink