[OpenAT V400.b01a] adl_rtcTime_t definition problem!

In adl_rtc.h, adl_rtcTime_t isdefined as below
typedef struct
{
u8 Year; // Year (Two digits)
u8 Month; // Month (1-12)
u8 Day; // Day of the month (1-31)
u8 Hour; // Hour (0-23)
u8 Minute; // Minute (0-59)
u8 Second; // Second (0-59)
u16 SecondFracPart; // Second fractional part (0-32767)
} adl_rtcTime_t;

And in the documentation we have this definition :
typedef struct
{
u16 Year; // Year (Four digits)
u8 Month; // Month (1-12)
u8 Day; // Day of the month (1-31)
u8 Hour; // Hour (0-23)
u8 Minute; // Minute (0-59)
u8 Second; // Second (0-59)
u8 Pad; // Not Used
} adl_rtcTime_t;

The first does not work and it works if I override it with the second one in my source code …
The problem was a shift of values (for example I have real hours value in minute field) …
The problem I notice too is that the Year in Four digits mode gives a result in 2 digit :wink: (0006 for my example).

      Vincent.

Hi Vincent,

There is an OpenAT 4.00 Beta b04 for Q2686 now with core firmware B60Q. I don’t know if this is fixed but I don’t think you should use an older Beta version any more… Ask your distributor for an upgrade…

Best Regards,
Jan

Thanks for the response …
Unfornetly “OpenAT 4.00 Beta b04 for Q2686 now with core firmware B60Q” is not available for customers at this time :frowning:

Vincent.

Oh.