[En-Nut-Discussion] NutGetTickClock rounding (again)

Henrik Maier hmlists at focus-sw.com
Sat Jul 19 03:01:22 CEST 2008


Nathan,

> Since linux is gpl, it would either have to be rewritten or you could look
> and see what the BSDs do.
> Otherwise it would expose all future users of NutOs to being forced to
> release their code under GPL.

That's taken care of. I you look at my proposal and compare it with the
Linux code (both published in previous posts) you see that both functions
have little in common besides the trivial rounding formula:

  TICKS = (MS * HZ + 999) / 1000
   
Henrik





More information about the En-Nut-Discussion mailing list