Skip to main content
vromanov2
Associate
April 6, 2007
Question

Bug in library (RTC_GetTime)

  • April 6, 2007
  • 2 replies
  • 807 views
Posted on April 06, 2007 at 12:12

Bug in library (RTC_GetTime)

This topic has been closed for replies.

2 replies

vromanov2
vromanov2Author
Associate
May 17, 2011
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
Visitor II
May 17, 2011
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