[Tinyos-commits] CVS: tinyos-1.x/tos/system Reset.h,1.2,1.3
Cory Sharp
cssharp at users.sourceforge.net
Wed Sep 14 10:06:40 PDT 2005
Update of /cvsroot/tinyos/tinyos-1.x/tos/system
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8559
Modified Files:
Reset.h
Log Message:
Support reset for Telos, TelosB, and Tmote.
Index: Reset.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/system/Reset.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Reset.h 7 Oct 2003 21:46:37 -0000 1.2
--- Reset.h 14 Sep 2005 17:06:38 -0000 1.3
***************
*** 51,55 ****
__asm__ __volatile__("nop" "\n\t" ::);
}
#endif
-
}
--- 51,57 ----
__asm__ __volatile__("nop" "\n\t" ::);
}
+ #elif defined(PLATFORM_TELOS) || defined(PLATFORM_TELOSB)
+ WDTCTL = 0;
#endif
}
+
More information about the Tinyos-commits
mailing list