Michael Schippling wrote:

Anyway, probably, dataReady() is getting the same global "buffer"
pointer but you've declared two different instances of it so C is
confused.

I see what you're saying now.  The pointer is aimed at the same
memory cells even though dataReady() can't return it in the same named variable. Copying it to the global scope is necessary just because of the way dataReady() is written.

Jan Hauer if you're seeing this and I've still got it wrong, please tell me.

John Griessen

--
Ecosensory
tinyOS devel on:  ubuntu Linux;   tinyOS v2.0.2;   telosb ecosens1
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to