aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/src/chtm.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt/src/chtm.c')
-rw-r--r--os/rt/src/chtm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/src/chtm.c b/os/rt/src/chtm.c
index 24239e0e2..c001dd7e3 100644
--- a/os/rt/src/chtm.c
+++ b/os/rt/src/chtm.c
@@ -128,8 +128,6 @@ NOINLINE void chTMStopMeasurementX(time_measurement_t *tmp) {
tm_stop(tmp, chSysGetRealtimeCounterX(), ch.measurement_offset);
}
-#endif /* CH_CFG_USE_TM */
-
/**
* @brief Stops a measurement and chains to the next one using the same time
* stamp.
@@ -152,4 +150,6 @@ NOINLINE void chTMChainMeasurementToX(time_measurement_t *tmp1,
tm_stop(tmp1, tmp2->last, 0);
}
+#endif /* CH_CFG_USE_TM */
+
/** @} */