[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/ptII/ptinyos/tos/platform/ptII/CC1000Radio PCRadio.h, 1.1, 1.2

Elaine Cheong celaine at users.sourceforge.net
Thu Nov 9 19:36:30 PST 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/ptII/ptinyos/tos/platform/ptII/CC1000Radio
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31528/tos/platform/ptII/CC1000Radio

Modified Files:
	PCRadio.h 
Log Message:
Fixed some debug output statements to use _PTII_NODEID.  Not possible to fix
all of them, since some output statements do not use NODE_NUM, and get the
node id from a data structure instead.



Index: PCRadio.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/ptII/ptinyos/tos/platform/ptII/CC1000Radio/PCRadio.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PCRadio.h	19 Apr 2005 01:19:20 -0000	1.1
--- PCRadio.h	10 Nov 2006 03:36:28 -0000	1.2
***************
*** 91,95 ****
    TOS_queue_insert_event(uevent);
    printTime(buf, 1024);
!   dbg(DBG_UART, "Enqueueing uart_send_event at %s for mote %i", buf, NODE_NUM);
  }
  
--- 91,98 ----
    TOS_queue_insert_event(uevent);
    printTime(buf, 1024);
!   // Viptos: _PTII_NODEID is passed to the preprocessor as a macro definition.
!   // Viptos: We assume that there is only one node per TOSSIM.
!   //dbg(DBG_UART, "Enqueueing uart_send_event at %s for mote %i", buf, NODE_NUM);
!   dbg(DBG_UART, "Enqueueing uart_send_event at %s for mote %i", buf, _PTII_NODEID);
  }
  



More information about the Tinyos-contrib-commits mailing list