1. If something was redefining FAIL - it would happen every time, not just in one function. 2. The functions that are OK, are they in the same module/file? 3. I suggest to try to change the things I mentioned, in you problematic function. The fact that it works in other places is not conclusive enough.
Arik On Mon, Apr 26, 2010 at 14:28, Michiel Konstapel <[email protected]>wrote: > Now that is interesting - I've recently noticed the same thing myself. Is > something redefining FAIL, somewhere? > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Eric Decker > *Sent:* maandag 26 april 2010 12:34 > *To:* Tinyos-Help > *Subject:* [Tinyos-help] how do i find where a value is being generated? > > > > I have a fairly complex program and I'm seeing some of my return codes not > coming back correctly. > > > > that is when I look at the app.c file, I see > > > > return 0x0080 > > > > but the original source code is return FAIL and FAIL is an enum set to 1. > > > > I've looked through all the source code looking for 0080 and trying to find > where FAIL is being changed > > and I'm baffled. > > > > Suggestions on how to find out what is going on? > > > > eric > > > > -- > Eric B. Decker > Senior (over 50 :-) Researcher > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Best Regards, Arik Sapojnik
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
