[ECOS] cyg_ticks_to_timespec()
Boris V. Guzhov
borg@int.spb.ru
Wed Apr 18 01:12:00 GMT 2001
Hi,
I use elix ecos configuration. In the
packages/compat/posix/current/src/time.cxx file
there is a cyg_ticks_to_timespec() function. I think that in the function
there is a bug.
For example: for ticks=454 the function should calculate tv_sec=4
tv_nsec=0.54e9,
but it calculate tv_sec=5 tv_nsec=3834967296.
Thanks in advance.
--
Boris Guzhov,
St.Petersburg, Russia
More information about the Ecos-discuss
mailing list