1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-19 04:52:12 +01:00

LP-304 - Prevent errors when dealing with variables used only for instrumentation

This commit is contained in:
Alessio Morale 2016-05-03 00:07:10 +02:00
parent bf639b486d
commit 1b254e4182

View File

@ -109,7 +109,7 @@
#define PERF_TIMED_SECTION_START(x)
#define PERF_TIMED_SECTION_END(x)
#define PERF_MEASURE_PERIOD(x)
#define PERF_TRACK_VALUE(x, y)
#define PERF_TRACK_VALUE(x, y) (void)y
#define PERF_INCREMENT_VALUE(x)
#define PERF_DECREMENT_VALUE(x)
#endif /* PIOS_INCLUDE_INSTRUMENTATION */