[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/safe/msp430 fail.c, 1.1,
1.2
John Regehr
regehr at users.sourceforge.net
Thu Feb 14 12:27:38 PST 2008
Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/safe/msp430
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv1874/msp430
Modified Files:
fail.c
Log Message:
new failure handler interface
Index: fail.c
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/safe/msp430/fail.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fail.c 11 Feb 2008 18:46:05 -0000 1.1
--- fail.c 14 Feb 2008 20:27:36 -0000 1.2
***************
*** 123,127 ****
// Not sure how to do this in Telosb without looking it up
! void deputy_fail_noreturn_fast (const char* file, int flid, const char* func)
{
// disable interrupts
--- 123,127 ----
// Not sure how to do this in Telosb without looking it up
! void deputy_fail_noreturn_fast (int flid)
{
// disable interrupts
***************
*** 134,150 ****
}
! void deputy_fail_mayreturn(const char *check, const char *text,
! const char* file, int line, const char* func)
{
! // I don't think this has any meaning without FLID transformation
! // FLID transformation stores FLID in line variable
! deputy_fail_noreturn_fast(file, line, func);
}
! void deputy_fail_noreturn(const char *check, const char *text,
! const char* file, int line, const char* func)
{
! // I don't think this has any meaning without FLID transformation
! // FLID transformation stores FLID in line variable
! deputy_fail_noreturn_fast(file, line, func);
}
--- 134,144 ----
}
! void deputy_fail_mayreturn(int flid)
{
! deputy_fail_noreturn_fast(flid);
}
! void deputy_fail_noreturn(int flid)
{
! deputy_fail_noreturn_fast(flid);
}
More information about the Tinyos-2-commits
mailing list