[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/deluge/SerialBlink BlinkC.nc, 1.1, 1.2

Razvan Musaloiu-E. razvanm at users.sourceforge.net
Sat Dec 22 00:14:20 PST 2007


Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/deluge/SerialBlink
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24932/apps/tests/deluge/SerialBlink

Modified Files:
	BlinkC.nc 
Log Message:
Fix the getPayload to obey the new signature.


Index: BlinkC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/deluge/SerialBlink/BlinkC.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** BlinkC.nc	22 May 2007 20:34:20 -0000	1.1
--- BlinkC.nc	22 Dec 2007 08:14:18 -0000	1.2
***************
*** 58,62 ****
    event void Timer0.fired()
    {
!     char *payload = call AMSend.getPayload(&byte_msg);
      dbg("BlinkC", "Timer 0 fired @ %s.\n", sim_time_string());
  #ifndef BLINK_REVERSE
--- 58,62 ----
    event void Timer0.fired()
    {
!     char *payload = call AMSend.getPayload(&byte_msg, 1);
      dbg("BlinkC", "Timer 0 fired @ %s.\n", sim_time_string());
  #ifndef BLINK_REVERSE



More information about the Tinyos-2-commits mailing list