Changeset 0a0e6e7 in mainline for uspace/drv/time/cmos-rtc/cmos-rtc.c
- Timestamp:
- 2012-05-22T23:57:04Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f7e69f5
- Parents:
- 8fde078
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/time/cmos-rtc/cmos-rtc.c
r8fde078 r0a0e6e7 582 582 switch (method) { 583 583 case CLOCK_GET_BATTERY_STATUS: 584 /* Get the RTC battery status */ 584 585 batt_ok = rtc_register_read(rtc, RTC_STATUS_D) & 585 586 RTC_D_BATTERY_OK; … … 587 588 break; 588 589 case CLOCK_GET_BOOTTIME: 590 /* Get the boot time */ 589 591 if (boottime == 0) { 590 592 struct tm cur_tm;
Note:
See TracChangeset
for help on using the changeset viewer.