[Tinyos-help] ADCM$StartGet

preeti k kalepreeti at gmail.com
Sat Apr 21 05:19:33 PDT 2007


Hello,

I get the following warning when i compile my application.

C:/tinyos/cyg/opt/tinyos-1.x/tos/system/ADCM.nc: In function
`ADCM$startGet':
C:/tinyos/cyg/opt/tinyos-1.x/tos/system/ADCM.nc:136: warning: comparison is
always false due to limited range of data type

I found a similar query on this mail archive but could not get a solution to
the above problem.
How serious is this warning? I traced it to ADCM.nc in ADCMStartGet function
as follows
****
if (port > TOSH_ADC_PORTMAPSIZE) {
      return FAIL;
    }
****
TOSH_ADC_PORTMAPSIZE =255 is initialized
What does it all mean?
How do i rectify this warning?

Thanks in advance
-Preeti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070421/31cd28be/attachment-0001.html


More information about the Tinyos-help mailing list