aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt')
-rw-r--r--os/rt/ports/ARMCMx/chcore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/rt/ports/ARMCMx/chcore.h b/os/rt/ports/ARMCMx/chcore.h
index 1ad0026d9..ca6ae60e7 100644
--- a/os/rt/ports/ARMCMx/chcore.h
+++ b/os/rt/ports/ARMCMx/chcore.h
@@ -231,6 +231,7 @@ struct context {
#endif
#if !defined(_FROM_ASM_)
+
#if CH_CFG_ST_TIMEDELTA > 0
#if !PORT_USE_ALT_TIMER
#include "chcore_timer.h"
@@ -238,6 +239,7 @@ struct context {
#include "chcore_timer_alt.h"
#endif /* PORT_USE_ALT_TIMER */
#endif /* CH_CFG_ST_TIMEDELTA > 0 */
+
#endif /* !defined(_FROM_ASM_) */
#endif /* _CHCORE_H_ */