On Sun, Apr 6, 2008 at 12:33 AM, shankar satish <[EMAIL PROTECTED]> wrote: > Hi all, > > I am writing an app where the receive message event handler basically > rebroadcasts the received packet. If i write the command "call > Leds.redToggle(); " immediately, compiler throws a bunch of errors. On the > other hand, when I call " call Leds.redToggle(); " after copying the > recieved packet, the app compiles fine. Can anyone offer an explanation?
You should declare all the variables in the beginning of the function. - om_p _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
