[ECOS] Re: Timer mechanism

Giovanni Perbellini perbellini@sci.univr.it
Thu Jan 15 11:58:00 GMT 2004



> >
> > 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!
Regards
Giovanni

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list