Giovanni Di Sirio
-
2015-08-31
- assigned_to: Giovanni Di Sirio
- Fixed in Repository: False --> True
Possibly pedantic, but once noticed, why not just report it.
The RTC driver initialization code sets RTCD1.id_rtc = RTC, and from there on it is supposed to access the RTC registers always via RTCD1.id_rtc. However, a few lines later it uses the RTC directly:
if (!(RTC->ISR & RTC_ISR_INITS)){
Trivial patch attached.