This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]