timer: fix a build warning and add a comment
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 4 Feb 2011 10:15:57 +0000 (10:15 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 4 Feb 2011 10:15:57 +0000 (10:15 +0000)
commit9ce278eab99540113abad1e55026fb9d3aa3c2e2
treef05385124e831459058b6583866777096a60179d
parent9d47a03d8251b57383a391325022b7890f463f09
timer: fix a build warning and add a comment

Fix the following build warning:
 bertos/drv/timer.c:292: warning: signed and unsigned type in conditional expression

And comment the formula used to evaluate the timer delta.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4681 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/drv/timer.c