[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/ftsp TimeSyncP.nc, 1.4, 1.5
kusy
kusy at users.sourceforge.net
Tue Feb 17 09:49:18 PST 2009
Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/ftsp
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv29211
Modified Files:
TimeSyncP.nc
Log Message:
check if timestamp is valid before using it
Index: TimeSyncP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/ftsp/TimeSyncP.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** TimeSyncP.nc 4 Feb 2009 20:03:58 -0000 1.4
--- TimeSyncP.nc 17 Feb 2009 17:49:15 -0000 1.5
***************
*** 312,316 ****
return msg;
#endif
! if( (state & STATE_PROCESSING) == 0 ) {
message_t* old = processedMsg;
--- 312,317 ----
return msg;
#endif
! if( (state & STATE_PROCESSING) == 0
! && call TimeSyncPacket.isValid(msg)) {
message_t* old = processedMsg;
More information about the Tinyos-2-commits
mailing list