git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6796 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2014-03-22 09:46:45 +00:00
parent 824a2d427a
commit e12b846cda
2 changed files with 2 additions and 2 deletions

View File

@ -238,7 +238,7 @@ void rtc_lld_get_alarm(RTCDriver *rtcp,
* @api * @api
*/ */
#if RTC_HAS_PERIODIC_WAKEUPS #if RTC_HAS_PERIODIC_WAKEUPS
void rtcSetPeriodicWakeup_v2(RTCDriver *rtcp, RTCWakeup *wakeupspec){ void rtcSetPeriodicWakeup_v2(RTCDriver *rtcp, const RTCWakeup *wakeupspec){
chDbgCheck((wakeupspec->wakeup != 0x30000), chDbgCheck((wakeupspec->wakeup != 0x30000),
"rtc_lld_set_periodic_wakeup, forbidden combination"); "rtc_lld_set_periodic_wakeup, forbidden combination");

View File

@ -210,7 +210,7 @@ extern "C" {
rtcalarm_t alarm, rtcalarm_t alarm,
RTCAlarm *alarmspec); RTCAlarm *alarmspec);
#if RTC_HAS_PERIODIC_WAKEUPS #if RTC_HAS_PERIODIC_WAKEUPS
void rtcSetPeriodicWakeup_v2(RTCDriver *rtcp, RTCWakeup *wakeupspec); void rtcSetPeriodicWakeup_v2(RTCDriver *rtcp, const RTCWakeup *wakeupspec);
void rtcGetPeriodicWakeup_v2(RTCDriver *rtcp, RTCWakeup *wakeupspec); void rtcGetPeriodicWakeup_v2(RTCDriver *rtcp, RTCWakeup *wakeupspec);
#endif /* RTC_HAS_PERIODIC_WAKEUPS */ #endif /* RTC_HAS_PERIODIC_WAKEUPS */
uint32_t rtc_lld_get_time_fat(RTCDriver *rtcp); uint32_t rtc_lld_get_time_fat(RTCDriver *rtcp);