[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pcf8563.c bug

On Friday 20 June 2003 00:34, Pieter Grimmerink wrote:
> The RTC routines for the pcf8563 don't work properly, because certain
> operations on the read register values are done twice;
> -pcf8563_readreg already masks out 'unused' bits, after which
> 'get_rtc_time' tries to check those bits (century bit and low voltage bit)

Sorry, didn't look closely enough.

'pcf8563_readreg' is never used.
'rtc_read' is defined to 'i2c_readreg' instead.