diff options
Diffstat (limited to 'os/hal/src')
| -rw-r--r-- | os/hal/src/hal_st.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/os/hal/src/hal_st.c b/os/hal/src/hal_st.c index 3c613c1b2..0143185f8 100644 --- a/os/hal/src/hal_st.c +++ b/os/hal/src/hal_st.c @@ -62,6 +62,7 @@ void stInit(void) {    st_lld_init();
  }
 +#if (OSAL_ST_MODE == OSAL_ST_MODE_FREERUNNING) || defined(__DOXYGEN__)
  /**
   * @brief   Starts the alarm.
   * @note    Makes sure that no spurious alarms are triggered after
 @@ -123,6 +124,7 @@ systime_t stGetAlarm(void) {    return st_lld_get_alarm();
  }
 +#endif /* OSAL_ST_MODE == OSAL_ST_MODE_FREERUNNING */
  #endif /* OSAL_ST_MODE != OSAL_ST_MODE_NONE */
 | 
