Hi!
I'm using some arrays inside of an event, like this:

event void Send.sendDone(...) {
 uint16_t buffer[256];
(...)
}

I've thought if I declare "buffer" as a static variable, the CPU shouldn't create and remove the variable between event signalling (increasing performance ¿?) My question: if I declare a variable as static, is kept (in memory) this variable between calls???

Thanks!

--
Jose A.
Seville, Spain

<<attachment: jostargal.vcf>>

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

Reply via email to