logger: increase optimization to ${MAX_CUSTOM_OPT_LEVEL}

- ${MAX_CUSTOM_OPT_LEVEL} is -O2 on boards that aren't flash constrained
This commit is contained in:
Daniel Agar
2021-11-01 09:13:12 +01:00
committed by Beat Küng
parent 32be88404a
commit 1461eb0e32
+1
View File
@@ -36,6 +36,7 @@ px4_add_module(
MAIN logger
PRIORITY "SCHED_PRIORITY_MAX-30"
COMPILE_FLAGS
${MAX_CUSTOM_OPT_LEVEL}
-Wno-cast-align # TODO: fix and enable
SRCS
logged_topics.cpp