Synching clock manager
Ian Caddy
ianc at microsol.iinet.net.au
Tue Dec 17 09:01:53 UTC 2002
Hi Arun,
Yes, if you have a seperate hardware clock, you will need to get its
time on startup and then perform:
/* Now we set our system time */
status = rtems_clock_set(&tRTEMSTime);
This can be performed in your init task when your system starts up.
regards,
Ian Caddy
Arun Govind wrote:
> Do I need to call some special routines to synch the rtems clock manager with the hardware clock? I've #defined CONFIGURE_TEST_NEEDS_CLOCK_DRIVER in my test. But any calls to get the current time returns me some time around midnight, January 1st 1988.
> thanks for any help
> Arun
>
>
> _____________________________________________________________
> Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
> http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus
>
More information about the users
mailing list