diff --git a/flight/pios/inc/pios_instrumentation_helper.h b/flight/pios/inc/pios_instrumentation_helper.h index 2fffbdf4b..6a9423a66 100644 --- a/flight/pios/inc/pios_instrumentation_helper.h +++ b/flight/pios/inc/pios_instrumentation_helper.h @@ -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 */