diff options
Diffstat (limited to 'os')
| -rw-r--r-- | os/hal/platforms/STM32/RTCv1/rtc_lld.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/os/hal/platforms/STM32/RTCv1/rtc_lld.c b/os/hal/platforms/STM32/RTCv1/rtc_lld.c index bc083ffbd..a8152dd9b 100644 --- a/os/hal/platforms/STM32/RTCv1/rtc_lld.c +++ b/os/hal/platforms/STM32/RTCv1/rtc_lld.c @@ -32,7 +32,6 @@  #include "ch.h"
  #include "hal.h"
 -#include "chrtclib.h"
  #if HAL_USE_RTC || defined(__DOXYGEN__)
 @@ -300,6 +299,8 @@ void rtc_lld_set_callback(RTCDriver *rtcp, rtccb_t callback) {    }
  }
 +#include "chrtclib.h"
 +
  /**
   * @brief   Get current time in format suitable for usage in FatFS.
   *
 | 
