I am trying to understand why my program sometimes block using the option safe 
.I use tinyos 2.1 with telosb .Why is an error the follow code ?


                void dimImmagine(uint8_t*buf1)
                        {
                                
440                             if(buf1[2]==200)


when I compile with the option make telosb safe

RadioCImpl.nc:440: Error: Assertion will always fail in upper bound check:
  buf1 + (2 + 1) <= buf1 + 1

Each help is very important :thank in advance

Giorgio
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to