aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/rtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/include/rtc.h b/os/hal/include/rtc.h
index 4a36f4317..474862910 100644
--- a/os/hal/include/rtc.h
+++ b/os/hal/include/rtc.h
@@ -59,7 +59,7 @@ extern "C" {
#endif
void rtcInit(void);
#if RTC_SUPPORTS_CALLBACKS
- void rtcStart(RTCDriver *rtcp, RTCConfig *rtccfgp);
+ void rtcStart(RTCDriver *rtcp, const RTCConfig *rtccfgp);
void rtcStop(void);
#endif /* RTC_SUPPORTS_CALLBACKS */
void rtcSetTime(uint32_t tv_sec);