[Tinyos-help] Compile time warning when using LocalTimeMilliC without any TimerMilliC instances
Morten Tranberg Hansen
mth at daimi.au.dk
Thu Aug 28 08:16:32 PDT 2008
Hi,
When using LocalTimeMilliC in an application without a TimeMilliC instances
i get the following warnings:
/opt/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc: In function
`VirtualizeTimerC$0$updateFromTimer$runTask':
/opt/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc:102: warning: comparison
is always false due to limited range of data type
/opt/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc: In function
`VirtualizeTimerC$0$fireTimers':
/opt/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc:66: warning: comparison is
always false due to limited range of data type
They disappear when i add a TimerMilliC to my application as:
components
new TimerMilliC();
It seems to be due to the fact that a VirtualizeTimerC is instantiated in
HilTimerMilliC (im using msp430) with uniqueCount(UQ_TIMER_MILLI)=0.
Maybe the responsible person has a nice solution to how we get rid of these
warnings?
- Morten.
--
Morten Hansen, http://mortent.dk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080828/be75e0ff/attachment.htm
More information about the Tinyos-help
mailing list