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

Changeset 2a4c22d in mainline


Ignore:
Timestamp:
2012-04-05T18:46:20Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
f61a326
Parents:
d8a4e79
Message:

rtc: revert revision 1492, it's completely broken.

File:
1 edited

Legend:

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

    rd8a4e79 r2a4c22d  
    281281
    282282                /* Now check if it is stable */
    283         } while(t->tm_sec  != rtc_register_read(rtc, RTC_SEC));
     283        } while( t->tm_sec  != rtc_register_read(rtc, RTC_SEC) ||
     284                 t->tm_min  != rtc_register_read(rtc, RTC_MIN) ||
     285                 t->tm_mday != rtc_register_read(rtc, RTC_DAY) ||
     286                 t->tm_mon  != rtc_register_read(rtc, RTC_MON) ||
     287                 t->tm_year != rtc_register_read(rtc, RTC_YEAR));
    284288
    285289        /* Check if the RTC is working in BCD mode */
Note: See TracChangeset for help on using the changeset viewer.