Changeset f87ea202 in mainline for uspace/drv/time/cmos-rtc/cmos-rtc.c
- Timestamp:
- 2012-04-04T19:48:57Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d8a4e79
- Parents:
- f1abd6e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/time/cmos-rtc/cmos-rtc.c
rf1abd6e rf87ea202 278 278 279 279 /* Now check if it is stable */ 280 } while( t->tm_sec != rtc_register_read(rtc, RTC_SEC) || 281 t->tm_min != rtc_register_read(rtc, RTC_MIN) || 282 t->tm_mday != rtc_register_read(rtc, RTC_DAY) || 283 t->tm_mon != rtc_register_read(rtc, RTC_MON) || 284 t->tm_year != rtc_register_read(rtc, RTC_YEAR)); 280 } while(t->tm_sec != rtc_register_read(rtc, RTC_SEC)); 285 281 286 282 /* Check if the RTC is working in BCD mode */
Note:
See TracChangeset
for help on using the changeset viewer.