that works fine. There are other places in the code where it does a return SUCCESS and it shows up in the app.c as return SUCCESS. Its strange because there are other places where return FAIL stays return FAIL. But in this section of code it is being changed from return FAIL to return 0x0080. I'm trying to find out where and why it is happening.
On Mon, Apr 26, 2010 at 3:42 AM, Arik Sapojnik <[email protected]> wrote: > How about changing the return value to something else? > > 1. Return TRUE; > 2. Return variable. > 3. if/else return statement > > > Arik > > > On Mon, Apr 26, 2010 at 13:34, Eric Decker <[email protected]> wrote: > >> 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 > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
