[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/printf PrintfP.nc, 1.9, 1.10

Phil Levis scipio at users.sourceforge.net
Thu Sep 13 16:10:51 PDT 2007


Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/printf
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27056/tos/lib/printf

Modified Files:
	PrintfP.nc 
Log Message:
The big interface switchover for Packet, Send, Receive, and AMSend.


Index: PrintfP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/printf/PrintfP.nc,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** PrintfP.nc	3 Sep 2007 20:29:08 -0000	1.9
--- PrintfP.nc	13 Sep 2007 23:10:19 -0000	1.10
***************
*** 84,88 ****
    
    void sendNext() {
!     printf_msg_t* m = (printf_msg_t*)call Packet.getPayload(&printfMsg, NULL);
      length_to_send = (bytes_left_to_flush < sizeof(printf_msg_t)) ? bytes_left_to_flush : sizeof(printf_msg_t);
      memset(m->buffer, 0, sizeof(printf_msg_t));
--- 84,88 ----
    
    void sendNext() {
!     printf_msg_t* m = (printf_msg_t*)call Packet.getPayload(&printfMsg, sizeof(printf_msg_t));
      length_to_send = (bytes_left_to_flush < sizeof(printf_msg_t)) ? bytes_left_to_flush : sizeof(printf_msg_t);
      memset(m->buffer, 0, sizeof(printf_msg_t));



More information about the Tinyos-2-commits mailing list