This is the mail archive of the
mailing list for the eCos project.
Re: Re: Timer mechanism
> > Ok, but why do I get a very big number, even if I execute the
> > cyg_current_time() when the eCos starts?
> Did you remember to include <cyg/kernel/kapi.h>? If not, you'll
> have troubles because cyg_current_time() returns a long long value
> and your code will be expecting only a long - hence gobbledygook.
yes, but I get a wrong value. I'll investigate!
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss