cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in library (RTC_GetTime)

vromanov2
Associate II
Posted on April 06, 2007 at 12:12

Bug in library (RTC_GetTime)

2 REPLIES 2
vromanov2
Associate II
Posted on May 17, 2011 at 09:40

Error in marged >> line

Time->seconds = BCD2ToBYTE(Time->seconds);

>>Time->seconds = BCD3ToWORD(Time->milliseconds);

Correct code is

Time->seconds = BCD2ToBYTE(Time->seconds);

Time->milliseconds = BCD3ToWORD(Time->milliseconds);

anis
Associate II
Posted on May 17, 2011 at 09:40

Hi Vromanov,

Thanks for mentioning this error.

It will be corrected in next release of the library.

Best regards,

STARM