Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset cf72943 in mainline for uspace/drv/time/cmos-rtc/cmos-rtc.c


Ignore:
Timestamp:
2012-04-14T16:45:13Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
a8a0d43
Parents:
1170ea3
Message:

rtc: fix RTC_MASK_UPDATE and add some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/time/cmos-rtc/cmos-rtc.c

    r1170ea3 rcf72943  
    275275rtc_update_in_progress(rtc_t *rtc)
    276276{
    277         return rtc_register_read(rtc, RTC_UPDATE) & RTC_MASK_UPDATE;
     277        return rtc_register_read(rtc, RTC_STATUS_A) & RTC_MASK_UPDATE;
    278278}
    279279
Note: See TracChangeset for help on using the changeset viewer.