[Tinyos-help] Component variable value corrupted without inlining a local function

2008-03-24 Thread Flavio Pompermaier
Hi to all, I have a VERY strange problem with a component variable. In a component scope of my application (immediately under the implementation keyword) I have defined a uint16_t variable "epochs" that is increased ad each firing of a periodic timer. It is used by the component to clean things

Re: [Tinyos-help] Component variable value corrupted without inlining a local function

2008-03-24 Thread Michael Schippling
Take a look at the generated app.c file to see if it's maybe being optimized out for you. You could try tagging the variable as "volatile" as well. MS Flavio Pompermaier wrote: Hi to all, I have a VERY strange problem with a component variable. In a component scope of my application (immediate