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


Ignore:
Timestamp:
2012-04-14T16:45:13Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a8a0d43
Parents:
1170ea3c
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

    r1170ea3c 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.