aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/hal_st.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/hal_st.h')
-rw-r--r--os/hal/include/hal_st.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/include/hal_st.h b/os/hal/include/hal_st.h
index 1cc0460c2..e285877d5 100644
--- a/os/hal/include/hal_st.h
+++ b/os/hal/include/hal_st.h
@@ -84,10 +84,12 @@
extern "C" {
#endif
void stInit(void);
+#if OSAL_ST_MODE == OSAL_ST_MODE_FREERUNNING
void stStartAlarm(systime_t abstime);
void stStopAlarm(void);
void stSetAlarm(systime_t abstime);
systime_t stGetAlarm(void);
+#endif
#ifdef __cplusplus
}
#endif