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


Ignore:
Timestamp:
2012-05-22T23:57:04Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f7e69f5
Parents:
8fde078
Message:

rtc: add some comments

File:
1 edited

Legend:

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

    r8fde078 r0a0e6e7  
    582582        switch (method) {
    583583        case CLOCK_GET_BATTERY_STATUS:
     584                /* Get the RTC battery status */
    584585                batt_ok = rtc_register_read(rtc, RTC_STATUS_D) &
    585586                    RTC_D_BATTERY_OK;
     
    587588                break;
    588589        case CLOCK_GET_BOOTTIME:
     590                /* Get the boot time */
    589591                if (boottime == 0) {
    590592                        struct tm cur_tm;
Note: See TracChangeset for help on using the changeset viewer.